diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 23:47:52 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-25 19:05:32 -0400 |
commit | 424e1d0059c94d25e0d631dd671ae886ea6fe546 (patch) | |
tree | 2b5e027cdd8d5c9ca547f8587d036c57af90685e /gtk/gtkcellrendererpixbuf.c | |
parent | 0091fc3543dfe904d192076d2e1d7079affbadb6 (diff) | |
download | gtk+-424e1d0059c94d25e0d631dd671ae886ea6fe546.tar.gz |
Start deprecating some GtkStock API
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r-- | gtk/gtkcellrendererpixbuf.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index 90fc9fece0..dc25648d3f 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -33,8 +33,8 @@ * * A #GtkCellRendererPixbuf can be used to render an image in a cell. It allows * to render either a given #GdkPixbuf (set via the - * #GtkCellRendererPixbuf:pixbuf property) or a stock icon (set via the - * #GtkCellRendererPixbuf:stock-id property). + * #GtkCellRendererPixbuf:pixbuf property) or a named icon (set via the + * #GtkCellRendererPixbuf:icon-name property). * * To support the tree view, #GtkCellRendererPixbuf also supports rendering two * alternative pixbufs, when the #GtkCellRenderer:is-expander property is %TRUE. @@ -169,6 +169,11 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) GDK_TYPE_PIXBUF, GTK_PARAM_READWRITE)); + /** + * GtkCellRendererPixbuf:stock-id: + * + * Deprecated: 3.10: Use #GtkCellRendererPixbuf:icon-name instead. + */ g_object_class_install_property (object_class, PROP_STOCK_ID, g_param_spec_string ("stock-id", |