From 2da78cef2bf99aef92f5de6b83df4094bf01277e Mon Sep 17 00:00:00 2001 From: marcm Date: Thu, 7 Aug 2003 09:35:41 +0000 Subject: [PATCH] * registryd/deviceeventcontroller.c (spi_device_event_controller_object_finalize): Fix build on systems without XEvIE. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@513 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 6 ++++++ registryd/deviceeventcontroller.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 81e9a18..eecfcc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-07 Marc Mulcahy + + * registryd/deviceeventcontroller.c + (spi_device_event_controller_object_finalize): Fix build on + systems without XEvIE. + 2003-08-06 Brian Cameron * acconfig.h, configure.in, registryd/Makefile.am, diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c index da115d3..c63f41d 100644 --- a/registryd/deviceeventcontroller.c +++ b/registryd/deviceeventcontroller.c @@ -1591,6 +1591,7 @@ spi_device_event_controller_object_finalize (GObject *object) /* disconnect any special listeners, get rid of outstanding keygrabs */ XUngrabKey (spi_get_display (), AnyKey, AnyModifier, DefaultRootWindow (spi_get_display ())); +#ifdef HAVE_XEEVIE if (controller->xevie_display != NULL) { XevieEnd(controller->xevie_display); @@ -1598,6 +1599,7 @@ spi_device_event_controller_object_finalize (GObject *object) printf("XevieEnd(dpy) finished \n"); #endif } +#endif private = g_object_get_data (G_OBJECT (controller), "spi-dec-private"); if (private->xkb_desc) -- 2.7.4