st-texture-cache: Ensure we return a ClutterTexture, not a plain Actor

Calling code expects to get a ClutterTexture instance, not a
ClutterActor.
This commit is contained in:
Rui Matos 2012-03-19 15:23:01 +01:00
parent e59c29993c
commit 3813a03117

View File

@ -1216,7 +1216,7 @@ st_texture_cache_load_icon_name (StTextureCache *cache,
/* We don't have an equivalent of image-missing
* for the symbolic icon theme, so just create a blank
* actor. */
texture = clutter_actor_new ();
texture = (ClutterActor *) create_default_texture ();
clutter_actor_set_size (texture, size, size);
}