projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eae688c
)
Notify the registry upon initialization
author
Mike Gorse
<mgorse@boston.site>
Tue, 10 Jun 2008 22:43:32 +0000
(18:43 -0400)
committer
Mike Gorse
<mgorse@boston.site>
Tue, 10 Jun 2008 22:43:32 +0000
(18:43 -0400)
atk-adaptor/bridge.c
patch
|
blob
|
history
diff --git
a/atk-adaptor/bridge.c
b/atk-adaptor/bridge.c
index
7e72ec5
..
ba6b80b
100644
(file)
--- a/
atk-adaptor/bridge.c
+++ b/
atk-adaptor/bridge.c
@@
-342,8
+342,16
@@
spi_atk_bridge_toplevel_removed (AtkObject *object,
static void
spi_atk_bridge_register_application (const char *registry)
{
static void
spi_atk_bridge_register_application (const char *registry)
{
+ DBusMessage *message, *reply;
+ DBusError error;
+
bridge_threads_leave ();
bridge_threads_leave ();
- // TODO: register
+ message = dbus_message_new_method_call (SPI_DBUS_NAME_REGISTRY, SPI_DBUS_PATH_REGISTRY, SPI_DBUS_INTERFACE_REGISTRY, "registerApplication");
+ dbus_error_init (&error);
+ reply = dbus_connection_send_with_reply_and_block(this_app->droute.bus, message, 1000, &error);
+ if (error.message) g_warning (error.message);
+ if (reply) dbus_message_unref (reply);
+ if (message) dbus_message_unref (message);
bridge_threads_enter ();
}
bridge_threads_enter ();
}