ClutterActor *stage;
stage = clutter_stage_get_default ();
+ clutter_actor_show (stage);
actor = clutter_rectangle_new ();
g_assert (CLUTTER_ACTOR_IS_VISIBLE (actor));
clutter_actor_destroy (actor);
+ clutter_actor_hide (stage);
}
void
ClutterActor *stage;
stage = clutter_stage_get_default ();
+ clutter_actor_show (stage);
group = clutter_group_new ();
g_assert (!(CLUTTER_ACTOR_IS_VISIBLE (actor)));
clutter_actor_destroy (group);
+ clutter_actor_hide (stage);
}
void
ClutterActor *stage;
stage = clutter_stage_get_default ();
+ clutter_actor_show (stage);
group = clutter_group_new ();
g_assert (CLUTTER_ACTOR_IS_VISIBLE (actor));
clutter_actor_destroy (group);
+ clutter_actor_hide (stage);
}
void
ClutterActor *clone;
stage = clutter_stage_get_default ();
+ clutter_actor_show (stage);
group = clutter_group_new ();
actor = clutter_rectangle_new ();
clutter_actor_destroy (CLUTTER_ACTOR (clone));
clutter_actor_destroy (CLUTTER_ACTOR (group));
+
+ clutter_actor_hide (stage);
}