Add gtk_widget_render_icon_pixbuf() prototype to gtkwidget.h

And move gtk_widget_render_icon() to deprecation guards block
This commit is contained in:
Carlos Garcia Campos 2010-12-08 16:46:57 +01:00
parent 61731c65aa
commit 5582bd23fb

View File

@ -831,6 +831,10 @@ void gtk_widget_class_path (GtkWidget *widget,
gchar **path, gchar **path,
gchar **path_reversed); gchar **path_reversed);
GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget,
const gchar *stock_id,
GtkIconSize size,
const gchar *detail);
#endif /* GTK_DISABLE_DEPRECATED */ #endif /* GTK_DISABLE_DEPRECATED */
PangoContext *gtk_widget_create_pango_context (GtkWidget *widget); PangoContext *gtk_widget_create_pango_context (GtkWidget *widget);
@ -838,10 +842,9 @@ PangoContext *gtk_widget_get_pango_context (GtkWidget *widget);
PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget, PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget,
const gchar *text); const gchar *text);
GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget,
const gchar *stock_id, const gchar *stock_id,
GtkIconSize size, GtkIconSize size);
const gchar *detail);
/* handle composite names for GTK_COMPOSITE_CHILD widgets, /* handle composite names for GTK_COMPOSITE_CHILD widgets,
* the returned name is newly allocated. * the returned name is newly allocated.