[gnome-shell/gbsneto/effects-paint-nodes: 2/3] st/tests: Replace ClutterGroup by ClutterActor



commit c7c85ea319883ed9ba159e49ee2a7f036d064fe7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jun 26 16:32:24 2020 -0300

    st/tests: Replace ClutterGroup by ClutterActor
    
    ClutterGroup is deprecated and can be 1:1 replaced by ClutterActor,
    so let's do it.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1334

 src/st/test-theme.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/st/test-theme.c b/src/st/test-theme.c
index 048dcad45a..3fe0246c39 100644
--- a/src/st/test-theme.c
+++ b/src/st/test-theme.c
@@ -566,26 +566,26 @@ main (int argc, char **argv)
 
   root = st_theme_context_get_root_node (context);
   group1 = st_theme_node_new (context, root, NULL,
-                              CLUTTER_TYPE_GROUP, "group1", NULL, NULL, NULL);
+                              CLUTTER_TYPE_ACTOR, "group1", NULL, NULL, NULL);
   text1 = st_theme_node_new  (context, group1, NULL,
                               CLUTTER_TYPE_TEXT, "text1", "special-text", NULL, NULL);
   text2 = st_theme_node_new  (context, group1, NULL,
                               CLUTTER_TYPE_TEXT, "text2", NULL, NULL, NULL);
   group2 = st_theme_node_new (context, root, NULL,
-                              CLUTTER_TYPE_GROUP, "group2", NULL, NULL, NULL);
+                              CLUTTER_TYPE_ACTOR, "group2", NULL, NULL, NULL);
   group4 = st_theme_node_new (context, root, NULL,
-                              CLUTTER_TYPE_GROUP, "group4", NULL, NULL, NULL);
+                              CLUTTER_TYPE_ACTOR, "group4", NULL, NULL, NULL);
   group5 = st_theme_node_new (context, root, NULL,
-                              CLUTTER_TYPE_GROUP, "group5", NULL, NULL, NULL);
+                              CLUTTER_TYPE_ACTOR, "group5", NULL, NULL, NULL);
   group6 = st_theme_node_new (context, root, NULL,
-                              CLUTTER_TYPE_GROUP, "group6", NULL, NULL, NULL);
+                              CLUTTER_TYPE_ACTOR, "group6", NULL, NULL, NULL);
   text3 = st_theme_node_new  (context, group2, NULL,
                               CLUTTER_TYPE_TEXT, "text3", NULL, NULL,
                               "color: #0000ff; padding-bottom: 12px;");
   text4 = st_theme_node_new  (context, group2, NULL,
                               CLUTTER_TYPE_TEXT, "text4", NULL, "visited hover", NULL);
   group3 = st_theme_node_new (context, group2, NULL,
-                              CLUTTER_TYPE_GROUP, "group3", NULL, "hover", NULL);
+                              CLUTTER_TYPE_ACTOR, "group3", NULL, "hover", NULL);
   button = st_theme_node_new (context, root, NULL,
                               ST_TYPE_BUTTON, "button", NULL, NULL, NULL);
 


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