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:
Georges Basile Stavracas Neto 2019-01-29 17:02:52 -02:00
parent 259f90bbf6
commit 69b1fb699f
No known key found for this signature in database
GPG Key ID: 886C17EE170D1385

View File

@ -216,7 +216,7 @@ window_backed_app_get_icon (ShellApp *app,
if (window == NULL)
{
actor = clutter_texture_new ();
actor = clutter_actor_new ();
g_object_set (actor, "opacity", 0, "width", (float) size, "height", (float) size, NULL);
return actor;
}