From 9bd3c8d2e6ef4c794396a3ccbfa45f08055c6b6b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 11 Jul 2015 10:16:11 +0100 Subject: [PATCH] conform: Do not use deprecated macros Porting actor-graph is easier than porting actor-invariants, and we're not really testing the internals of ClutterActor. --- tests/conform/actor-graph.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/conform/actor-graph.c b/tests/conform/actor-graph.c index 22a28a660..0dad49bec 100644 --- a/tests/conform/actor-graph.c +++ b/tests/conform/actor-graph.c @@ -218,7 +218,7 @@ actor_raise_child (void) g_assert_cmpstr (clutter_actor_get_name (clutter_actor_get_child_at_index (actor, 2)), ==, "bar"); - g_assert (!CLUTTER_ACTOR_IS_VISIBLE (iter)); + g_assert (!clutter_actor_is_visible (iter)); g_object_get (iter, "show-on-set-parent", &show_on_set_parent, NULL); g_assert (!show_on_set_parent); @@ -235,7 +235,7 @@ actor_raise_child (void) g_assert_cmpstr (clutter_actor_get_name (clutter_actor_get_child_at_index (actor, 2)), ==, "foo"); - g_assert (!CLUTTER_ACTOR_IS_VISIBLE (iter)); + g_assert (!clutter_actor_is_visible (iter)); g_object_get (iter, "show-on-set-parent", &show_on_set_parent, NULL); g_assert (!show_on_set_parent); @@ -284,7 +284,7 @@ actor_lower_child (void) g_assert_cmpstr (clutter_actor_get_name (clutter_actor_get_child_at_index (actor, 2)), ==, "baz"); - g_assert (!CLUTTER_ACTOR_IS_VISIBLE (iter)); + g_assert (!clutter_actor_is_visible (iter)); g_object_get (iter, "show-on-set-parent", &show_on_set_parent, NULL); g_assert (!show_on_set_parent); @@ -300,7 +300,7 @@ actor_lower_child (void) g_assert_cmpstr (clutter_actor_get_name (clutter_actor_get_child_at_index (actor, 2)), ==, "foo"); - g_assert (!CLUTTER_ACTOR_IS_VISIBLE (iter)); + g_assert (!clutter_actor_is_visible (iter)); g_object_get (iter, "show-on-set-parent", &show_on_set_parent, NULL); g_assert (!show_on_set_parent);