From ad04db75090495c894c7307c14b0400c9a6d9a79 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 13 Jun 2012 16:12:58 +0100 Subject: [PATCH] Remove unused X11 display code https://bugzilla.gnome.org/show_bug.cgi?id=678036 --- atk-adaptor/bridge.c | 10 ++-------- 1 file 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'"; -- 2.7.4