mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue