app: Replace ClutterTexture by ClutterActor
It apparently uses no ClutterTexture specifics, and instead only tries to match what StTextureCache used to return. Since StTextureCache now returns ClutterActor, also use a ClutterActor on ShellApp. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/373
This commit is contained in:
parent
259f90bbf6
commit
69b1fb699f
@ -216,7 +216,7 @@ window_backed_app_get_icon (ShellApp *app,
|
|||||||
|
|
||||||
if (window == NULL)
|
if (window == NULL)
|
||||||
{
|
{
|
||||||
actor = clutter_texture_new ();
|
actor = clutter_actor_new ();
|
||||||
g_object_set (actor, "opacity", 0, "width", (float) size, "height", (float) size, NULL);
|
g_object_set (actor, "opacity", 0, "width", (float) size, "height", (float) size, NULL);
|
||||||
return actor;
|
return actor;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user