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,
gtk_image_set_from_icon_name (image,
image->data.name.icon_name,
g_value_get_int (value));
else if (image->storage_type == GTK_IMAGE_GICON)
gtk_image_set_from_gicon (image,
image->data.gicon.icon,
g_value_get_int (value));
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);
break;
case PROP_PIXEL_SIZE:
......
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