* registryd/deviceeventcontroller.c
authormarcm <marcm@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Thu, 7 Aug 2003 09:35:41 +0000 (09:35 +0000)
committermarcm <marcm@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Thu, 7 Aug 2003 09:35:41 +0000 (09:35 +0000)
(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
registryd/deviceeventcontroller.c

index 81e9a18..eecfcc5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-07  Marc Mulcahy  <marc.mulcahy@sun.com>
+
+       * registryd/deviceeventcontroller.c
+       (spi_device_event_controller_object_finalize): Fix build on
+       systems without XEvIE.
+       
 2003-08-06  Brian Cameron <Brian.Cameron@sun.com>
 
        * acconfig.h, configure.in, registryd/Makefile.am,
index da115d3..c63f41d 100644 (file)
@@ -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)