[at-spi2-atk] Install plug/socket hooks before initializing the cache
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Install plug/socket hooks before initializing the cache
- Date: Thu, 29 Apr 2010 17:47:44 +0000 (UTC)
commit 3e0c62d4a264434cc5d49b5d4a054312c92330a0
Author: Mike Gorse <mgorse novell com>
Date: Thu Apr 29 13:46:59 2010 -0400
Install plug/socket hooks before initializing the cache
atk-adaptor/bridge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index dd66515..cbced24 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -433,6 +433,9 @@ adaptor_init (gint * argc, gchar ** argv[])
dbus_connection_setup_with_g_main (spi_global_app_data->bus,
g_main_context_default ());
+ /* Hook our plug-and socket functions */
+ install_plug_hooks ();
+
/*
* Create the leasing, register and cache objects.
* The order is important here, the cache depends on the
@@ -483,9 +486,6 @@ adaptor_init (gint * argc, gchar ** argv[])
/* Register methods to send D-Bus signals on certain ATK events */
spi_atk_register_event_listeners ();
- /* Hook our plug-and socket functions */
- install_plug_hooks ();
-
/* Register this app by sending a signal out to AT-SPI registry daemon */
if (!atspi_no_register && (!root || !ATK_IS_PLUG (root)))
register_application (spi_global_app_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]