diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2012-06-19 14:35:57 +0200 |
---|---|---|
committer | Pavel Holejsovsky <pholejs@src.gnome.org> | 2012-06-19 15:58:11 +0200 |
commit | 7572325efb5202accbb2aaab7249eed40ca45cf5 (patch) | |
tree | 64a405c6f08e57733e6a658748500168a0221511 /gtk/gtkimage.c | |
parent | bba72eae50f29fe27b08fe68d12afd41968f6605 (diff) | |
download | gtk+-7572325efb5202accbb2aaab7249eed40ca45cf5.tar.gz |
GtkImage: fix get_property('stock')
The code was trying to get icon's name instead of icon's stock-id.
https://bugzilla.gnome.org/show_bug.cgi?id=678407
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 988605a2d4..87285e1ca4 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -445,7 +445,7 @@ gtk_image_get_property (GObject *object, g_value_set_string (value, priv->filename); break; case PROP_STOCK: - g_value_set_string (value, _gtk_icon_helper_get_icon_name (priv->icon_helper)); + g_value_set_string (value, _gtk_icon_helper_get_stock_id (priv->icon_helper)); break; case PROP_ICON_SET: g_value_set_boxed (value, _gtk_icon_helper_peek_icon_set (priv->icon_helper)); |