+ if (gdk_pixbuf_animation_is_static_image (animation))
+ gtk_image_set_from_pixbuf (image, gdk_pixbuf_animation_get_static_image (animation));
+ else
+ gtk_image_set_from_animation (image, animation);
+
+ g_object_notify (G_OBJECT (image), "resource");
+
+ g_object_unref (animation);