GNOME Bugzilla – Bug 692481
gtkimage: Add GtkImage::resource property
Last modified: 2013-01-24 22:47:58 UTC
This is designed for GtkBuilder scenarios: <object class="GtkImage" id="blah"> <property name="resource">/org/myapp/blah.png</property> </object>
Created attachment 234341 [details] [review] gtkimage: Add GtkImage::resource property
Review of attachment 234341 [details] [review]: Looks good to me, except for this. ::: gtk/gtkimage.c @@ +489,3 @@ break; + case PROP_RESOURCE: + gtk_image_set_from_resource (image, g_value_get_string (value)); Should g_value_set_string (value, priv->resource_path);
Attachment 234341 [details] pushed as 86f024b - gtkimage: Add GtkImage::resource property Oops. Fixed and pushed.