1
0
Fork 0

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
This commit is contained in:
Alejandro Piñeiro 2010-07-06 13:36:48 +02:00
parent d45499f88b
commit ffd1f12560
2 changed files with 2 additions and 6 deletions

View file

@ -103,7 +103,7 @@
#include <clutter/clutter.h>
#ifdef HAVE_CLUTTER_X11
#ifdef HAVE_CLUTTER_GLX
#include <clutter/x11/clutter-x11.h>
#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;

View file

@ -50,10 +50,6 @@
#include "cally-root.h"
#include "cally-stage.h"
#ifdef HAVE_CLUTTER_X11
#include <X11/extensions/XKB.h>
#endif
static void cally_util_class_init (CallyUtilClass *klass);
static void cally_util_init (CallyUtil *cally_util);