summaryrefslogtreecommitdiff
path: root/gtk/compat.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-09 14:10:14 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-09 14:10:14 +0100
commitab997398ad2d413fa272fe4614e5b946d0349786 (patch)
treeffce90a99b98b72e07dd44c940829efc827b0fcc /gtk/compat.h
parentb9b952cddf161535548644c3df31e2856859a895 (diff)
downloadnetsurf-ab997398ad2d413fa272fe4614e5b946d0349786.tar.gz
netsurf-ab997398ad2d413fa272fe4614e5b946d0349786.tar.bz2
cope with deprication of gtk_style_context_get_font
Diffstat (limited to 'gtk/compat.h')
-rw-r--r--gtk/compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/compat.h b/gtk/compat.h
index 0947b7970..4f83aac46 100644
--- a/gtk/compat.h
+++ b/gtk/compat.h
@@ -113,6 +113,12 @@ enum {
GtkWidget *nsgtk_entry_new(void);
void nsgtk_entry_set_icon_from_pixbuf(GtkWidget *entry, GtkEntryIconPosition icon_pos, GdkPixbuf *pixbuf);
+
+/**
+ * Sets the icon shown in the entry at the specified position from a stock image.
+ *
+ * Compatability interface for interface deprecated in 3.10
+ */
void nsgtk_entry_set_icon_from_stock(GtkWidget *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id);
/**