[clutter] backend: Do not use deprecated macros



commit eefbb88675b3a3f6d00d6fe7305625fe903b74da
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Jul 11 10:11:35 2015 +0100

    backend: Do not use deprecated macros
    
    Use the replacement functions instead.

 clutter/clutter-backend.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c
index b856cb3..0407951 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;
 


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