diff options
author | Mike Gorse <mgorse@suse.com> | 2013-09-02 12:31:38 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2013-09-02 12:31:38 -0500 |
commit | 160b36ee8cfaf4891365741a110ecd62393056dc (patch) | |
tree | c6299e885dac865ca9e2f9f839d0017624fd26cc | |
parent | c40e7c6ce7f5686fa6f5765103727a6e69112c5a (diff) | |
download | at-spi2-core-160b36ee8cfaf4891365741a110ecd62393056dc.tar.gz |
Don't dispatch while calling get_accessibility_bus_address
Calling dbus_connection_dispatch isn't really needed when fetching the
bus address--this is only done once.
-rw-r--r-- | atspi/atspi-misc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c index 190a3eb6..17f9bb28 100644 --- a/atspi/atspi-misc.c +++ b/atspi/atspi-misc.c @@ -1518,8 +1518,6 @@ get_accessibility_bus_address_dbus (void) message, -1, &error); - if (g_main_depth () == 0) - while (dbus_connection_dispatch (session_bus) == DBUS_DISPATCH_DATA_REMAINS); dbus_message_unref (message); if (!reply) |