From eefbb88675b3a3f6d00d6fe7305625fe903b74da Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 11 Jul 2015 10:11:35 +0100 Subject: [PATCH] backend: Do not use deprecated macros Use the replacement functions instead. --- clutter/clutter-backend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c index b856cb305..04079518a 100644 --- a/clutter/clutter-backend.c +++ b/clutter/clutter-backend.c @@ -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;