mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Fix build with GTK <2.16
svn path=/trunk/netsurf/; revision=13364
This commit is contained in:
parent
15fb70844d
commit
f91dcf7308
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user