summaryrefslogtreecommitdiff
path: root/gtk/compat.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-10 16:39:23 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-10 16:39:23 +0100
commit4f13cbd31c984957d17081ac6d59a62b04d57765 (patch)
tree882003de2a575f1efc46ac1d517505e754076eb1 /gtk/compat.h
parent267fb0b00eec762da36f9f763521399efb914c2b (diff)
downloadnetsurf-4f13cbd31c984957d17081ac6d59a62b04d57765.tar.gz
netsurf-4f13cbd31c984957d17081ac6d59a62b04d57765.tar.bz2
Fixup deprication of gtk_icon_size_lookup_for_settings in gtk 3.10
Diffstat (limited to 'gtk/compat.h')
-rw-r--r--gtk/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/compat.h b/gtk/compat.h
index 748f1b4e4..15c30ab05 100644
--- a/gtk/compat.h
+++ b/gtk/compat.h
@@ -182,6 +182,8 @@ gboolean nsgtk_show_uri(GdkScreen *screen, const gchar *uri, guint32 timestamp,
GdkWindow *nsgtk_layout_get_bin_window(GtkLayout *layout);
void nsgtk_widget_get_allocation(GtkWidget *widget, GtkAllocation *allocation);
+gboolean nsgtk_icon_size_lookup_for_settings (GtkSettings *settings, GtkIconSize size, gint *width, gint *height);
+
GtkAdjustment *nsgtk_layout_get_vadjustment(GtkLayout *layout);
GtkAdjustment *nsgtk_layout_get_hadjustment(GtkLayout *layout);
void nsgtk_layout_set_hadjustment(GtkLayout *layout, GtkAdjustment *adj);