diff options
author | Mike Gorse <mgorse@suse.com> | 2013-09-05 18:58:44 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2013-09-05 18:58:44 -0500 |
commit | 150f70d6e3e41e573470965c9e51ee704612d334 (patch) | |
tree | 6faec321a5b81fa54878c64f12d2456879fb4d26 | |
parent | fbba09b26d6db7b6b4c889176f3769355da9c7fa (diff) | |
download | at-spi2-core-150f70d6e3e41e573470965c9e51ee704612d334.tar.gz |
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
-rw-r--r-- | dbind/dbind.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |