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



commit 49f2b780b6510ccc199c0371dc6d72859508a069
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.

 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]