Fix build with GTK <2.16

svn path=/trunk/netsurf/; revision=13364
This commit is contained in:
John Mark Bell 2012-01-02 12:11:07 +00:00
parent 15fb70844d
commit f91dcf7308

View File

@ -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 */