From: Alejandro PiƱeiro Date: Tue, 6 Jul 2010 11:36:48 +0000 (+0200) Subject: cally: Use proper backend information on CallyActor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffd1f125604a2a25015804bcf2b8ebb6503fdd77;p=profile%2Fivi%2Fclutter.git cally: Use proper backend information on CallyActor It uses HAVE_CLUTTER_GLX to check the current backend in use for some accessibility related methods. Fixes CB#2071 --- diff --git a/clutter/cally/cally-actor.c b/clutter/cally/cally-actor.c index 41bd368..a95fe9d 100644 --- a/clutter/cally/cally-actor.c +++ b/clutter/cally/cally-actor.c @@ -103,7 +103,7 @@ #include -#ifdef HAVE_CLUTTER_X11 +#ifdef HAVE_CLUTTER_GLX #include #endif @@ -917,7 +917,7 @@ _get_top_level_origin (ClutterActor *actor, *x = 0; *y = 0; -#ifdef HAVE_CLUTTER_X11 +#ifdef HAVE_CLUTTER_GLX ClutterActor *stage = NULL; Display *display = NULL; Window root_window; diff --git a/clutter/cally/cally-util.c b/clutter/cally/cally-util.c index 8b83009..40396fd 100644 --- a/clutter/cally/cally-util.c +++ b/clutter/cally/cally-util.c @@ -50,10 +50,6 @@ #include "cally-root.h" #include "cally-stage.h" -#ifdef HAVE_CLUTTER_X11 -#include -#endif - static void cally_util_class_init (CallyUtilClass *klass); static void cally_util_init (CallyUtil *cally_util);