backend: Do not use deprecated macros

Use the replacement functions instead.
This commit is contained in:
Emmanuele Bassi 2015-07-11 10:11:35 +01:00
parent 02b44fcc60
commit eefbb88675

View File

@ -818,11 +818,12 @@ _clutter_backend_ensure_context (ClutterBackend *backend,
g_assert (CLUTTER_IS_BACKEND (backend));
g_assert (CLUTTER_IS_STAGE (stage));
if (current_context_stage != stage || !CLUTTER_ACTOR_IS_REALIZED (stage))
if (current_context_stage != stage ||
!clutter_actor_is_realized (CLUTTER_ACTOR (stage)))
{
ClutterStage *new_stage = NULL;
if (!CLUTTER_ACTOR_IS_REALIZED (stage))
if (!clutter_actor_is_realized (CLUTTER_ACTOR (stage)))
{
new_stage = NULL;