[at-spi2-core] dbind: remove call to atspi_dbus_connection_setup_with_g_main



commit 150f70d6e3e41e573470965c9e51ee704612d334
Author: Mike Gorse <mgorse suse com>
Date:   Thu Sep 5 18:58:44 2013 -0500

    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 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/dbind/dbind.c b/dbind/dbind.c
index d85a9e5..98467e6 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)
     {


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