[gnome-shell/gbsneto/clutter-texture-no-more] app: Replace ClutterTexture by ClutterActor



commit 69b1fb699fd1a7c66df38c7f6b0c99e37a2f5302
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jan 29 17:02:52 2019 -0200

    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

 src/shell-app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/shell-app.c b/src/shell-app.c
index bc7408b37..a4d21b08e 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -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;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]