Commit ba218a77 authored by Christian Persch's avatar Christian Persch
Browse files

Make setting the icon-size property on GTK_IMAGE_GICON images work

Bug #602725.
parent f0923341
...@@ -361,8 +361,12 @@ gtk_image_set_property (GObject *object, ...@@ -361,8 +361,12 @@ gtk_image_set_property (GObject *object,
gtk_image_set_from_icon_name (image, gtk_image_set_from_icon_name (image,
image->, image->,
g_value_get_int (value)); g_value_get_int (value));
else if (image->storage_type == GTK_IMAGE_GICON)
gtk_image_set_from_gicon (image,
g_value_get_int (value));
else else
/* Save to be used when STOCK or ICON_SET property comes in */ /* Save to be used when STOCK, ICON_SET, ICON_NAME or GICON property comes in */
image->icon_size = g_value_get_int (value); image->icon_size = g_value_get_int (value);
break; break;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment