[at-spi2-atk] AT_SPI_CLIENT -> AT_SPI_REENTER_G_MAIN_LOOP
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] AT_SPI_CLIENT -> AT_SPI_REENTER_G_MAIN_LOOP
- Date: Tue, 13 Jul 2010 01:10:08 +0000 (UTC)
commit 9413f7c1c954b19284b2de74d799fcfa106cf758
Author: Mike Gorse <mgorse novell com>
Date: Fri Jul 9 14:14:45 2010 -0400
AT_SPI_CLIENT -> AT_SPI_REENTER_G_MAIN_LOOP
Rename AT_SPI_CLIENT since we may actually need to reenter the main loop for
more than just pyatspi (ie, UiaAtkBridge, since it sends key notifications
on a thread separate from the GLib main loop thread)
Continue to support AT_SPI_CLIENT for now, for backwards compatibility.
atk-adaptor/event.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/atk-adaptor/event.c b/atk-adaptor/event.c
index 3babc2f..99804f5 100644
--- a/atk-adaptor/event.c
+++ b/atk-adaptor/event.c
@@ -72,7 +72,8 @@ send_and_allow_reentry (DBusConnection * bus, DBusMessage * message)
dbus_pending_call_set_notify (pending, set_reply, (void *) &closure, NULL);
closure.loop = g_main_loop_new (NULL, FALSE);
- if (getenv ("AT_SPI_CLIENT"))
+ /* TODO: Remove old AT_SPI_CLIENT name */
+ if (getenv ("AT_SPI_CLIENT") || getenv ("AT_SPI_REENTER_G_MAIN_LOOP"))
{
g_main_loop_run (closure.loop);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]