[at-spi2-atk] Remove unused X11 display code



commit ad04db75090495c894c7307c14b0400c9a6d9a79
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 13 16:12:58 2012 +0100

    Remove unused X11 display code
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678036

 atk-adaptor/bridge.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 23a500c..faec393 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -58,8 +58,6 @@ signal_filter (DBusConnection *bus, DBusMessage *message, void *user_data);
 
 SpiBridge *spi_global_app_data = NULL;
 
-/*static Display *bridge_display = NULL;*/
-
 /*---------------------------------------------------------------------------*/
 
 /*
@@ -1000,14 +998,10 @@ gnome_accessibility_module_shutdown (void)
 
   g_free (spi_global_app_data);
   spi_global_app_data = NULL;
-
-  /* Not currently creating an XDisplay */
-#if 0
-  if (bridge_display)
-    XCloseDisplay (bridge_display);
-#endif
 }
 
+/*---------------------------------------------------------------------------*/
+
 static gchar *name_match_tmpl =
        "type='signal', interface='org.freedesktop.DBus', member='NameOwnerChanged', arg0='%s'";
 



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