projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba72ea
)
GtkImage: fix get_property('stock')
author
Pavel Holejsovsky
<pholejs@src.gnome.org>
Tue, 19 Jun 2012 12:35:57 +0000
(14:35 +0200)
committer
Pavel Holejsovsky
<pholejs@src.gnome.org>
Tue, 19 Jun 2012 13:58:11 +0000
(15:58 +0200)
The code was trying to get icon's name instead of icon's stock-id.
https://bugzilla.gnome.org/show_bug.cgi?id=678407
gtk/gtkimage.c
patch
|
blob
|
history
diff --git
a/gtk/gtkimage.c
b/gtk/gtkimage.c
index 988605a2d40edbc7cd15c66919684a8987878c9b..87285e1ca40f863c6a4fde0b86a03036bfc03f51 100644
(file)
--- 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));