[gtk+] Add gtk_widget_render_icon_pixbuf() prototype to gtkwidget.h



commit 5582bd23fb7e1f01ebd4719ec01d38eb9609c73d
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Wed Dec 8 16:46:57 2010 +0100

    Add gtk_widget_render_icon_pixbuf() prototype to gtkwidget.h
    
    And move gtk_widget_render_icon() to deprecation guards block

 gtk/gtkwidget.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 2a079ea..5e24008 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -831,6 +831,10 @@ void	     gtk_widget_class_path	   (GtkWidget *widget,
 					    gchar    **path,
 					    gchar    **path_reversed);
 
+GdkPixbuf    *gtk_widget_render_icon          (GtkWidget   *widget,
+                                               const gchar *stock_id,
+                                               GtkIconSize  size,
+                                               const gchar *detail);
 #endif  /* GTK_DISABLE_DEPRECATED */
 
 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,
 					       const gchar *text);
 
-GdkPixbuf    *gtk_widget_render_icon          (GtkWidget   *widget,
+GdkPixbuf    *gtk_widget_render_icon_pixbuf   (GtkWidget   *widget,
                                                const gchar *stock_id,
-                                               GtkIconSize  size,
-                                               const gchar *detail);
+                                               GtkIconSize  size);
 
 /* handle composite names for GTK_COMPOSITE_CHILD widgets,
  * the returned name is newly allocated.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]