projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c40e7c6
)
Don't dispatch while calling get_accessibility_bus_address
author
Mike Gorse
<mgorse@suse.com>
Mon, 2 Sep 2013 17:31:38 +0000
(12:31 -0500)
committer
Mike Gorse
<mgorse@suse.com>
Mon, 2 Sep 2013 17:31:38 +0000
(12:31 -0500)
Calling dbus_connection_dispatch isn't really needed when fetching the
bus address--this is only done once.
atspi/atspi-misc.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-misc.c
b/atspi/atspi-misc.c
index
190a3eb
..
17f9bb2
100644
(file)
--- 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)