summaryrefslogtreecommitdiff
path: root/gtk/compat.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-01-02 12:11:07 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-01-02 12:11:07 +0000
commitf91dcf7308c2139c4a16f42b7b2dfaff1c9594f8 (patch)
tree53e73b4c5736aeff03d8e95480cba19200ca4019 /gtk/compat.h
parent15fb70844def40e036b3eeb36907039cbb8aff01 (diff)
downloadnetsurf-f91dcf7308c2139c4a16f42b7b2dfaff1c9594f8.tar.gz
netsurf-f91dcf7308c2139c4a16f42b7b2dfaff1c9594f8.tar.bz2
Fix build with GTK <2.16
svn path=/trunk/netsurf/; revision=13364
Diffstat (limited to 'gtk/compat.h')
-rw-r--r--gtk/compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/compat.h b/gtk/compat.h
index ee95c6dd5..b8f90e5e4 100644
--- a/gtk/compat.h
+++ b/gtk/compat.h
@@ -37,10 +37,6 @@ GtkWidget *nsgtk_combo_box_text_new(void);
void nsgtk_combo_box_text_append_text(GtkWidget *combo_box, const gchar *text);
gchar *nsgtk_combo_box_text_get_active_text(GtkWidget *combo_box);
-GtkWidget *nsgtk_entry_new(void);
-void nsgtk_entry_set_icon_from_pixbuf(GtkWidget *entry, GtkEntryIconPosition icon_pos, GdkPixbuf *pixbuf);
-void nsgtk_entry_set_icon_from_stock(GtkWidget *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id);
-
#if !GTK_CHECK_VERSION(2,16,0)
#include "gtk/sexy_icon_entry.h"
@@ -50,4 +46,8 @@ typedef enum {
} GtkEntryIconPosition;
#endif
+GtkWidget *nsgtk_entry_new(void);
+void nsgtk_entry_set_icon_from_pixbuf(GtkWidget *entry, GtkEntryIconPosition icon_pos, GdkPixbuf *pixbuf);
+void nsgtk_entry_set_icon_from_stock(GtkWidget *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id);
+
#endif /* NETSURF_GTK_COMPAT_H */