From 150f70d6e3e41e573470965c9e51ee704612d334 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Thu, 5 Sep 2013 18:58:44 -0500 Subject: dbind: remove call to atspi_dbus_connection_setup_with_g_main dbind isn't currently running a GMainLoop, so it shouldn't call atspi_dbus_connection_setup_with_g_main, and calling this is harmful if it is being called from a context other than the default context, since D-Bus messages will no longer be delivered. https://bugzilla.gnome.org/show_bug.cgi?id=707218 --- dbind/dbind.c | 1 - 1 file changed, 1 deletion(-) (limited to 'dbind') diff --git a/dbind/dbind.c b/dbind/dbind.c index d85a9e5a..98467e65 100644 --- a/dbind/dbind.c +++ b/dbind/dbind.c @@ -86,7 +86,6 @@ dbind_send_and_allow_reentry (DBusConnection * bus, DBusMessage * message, DBusE closure = g_new0 (SpiReentrantCallClosure, 1); closure->reply = NULL; - atspi_dbus_connection_setup_with_g_main(bus, NULL); if (!dbus_connection_send_with_reply (bus, message, &pending, dbind_timeout) || !pending) { -- cgit v1.2.1