[at-spi2-core] Don't dispatch while calling get_accessibility_bus_address
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Don't dispatch while calling get_accessibility_bus_address
- Date: Mon, 2 Sep 2013 17:48:21 +0000 (UTC)
commit 160b36ee8cfaf4891365741a110ecd62393056dc
Author: Mike Gorse <mgorse suse com>
Date: Mon Sep 2 12:31:38 2013 -0500
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.
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 190a3eb..17f9bb2 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]