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:
parent
e59c29993c
commit
3813a03117
@ -1216,7 +1216,7 @@ st_texture_cache_load_icon_name (StTextureCache *cache,
|
|||||||
/* We don't have an equivalent of image-missing
|
/* We don't have an equivalent of image-missing
|
||||||
* for the symbolic icon theme, so just create a blank
|
* for the symbolic icon theme, so just create a blank
|
||||||
* actor. */
|
* actor. */
|
||||||
texture = clutter_actor_new ();
|
texture = (ClutterActor *) create_default_texture ();
|
||||||
clutter_actor_set_size (texture, size, size);
|
clutter_actor_set_size (texture, size, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user