projects
/
platform
/
upstream
/
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:
8f56d5b
)
Do not start if an instance already owns org.freedesktop.atspi.Registry
author
Mike Gorse
<mgorse@boston.site>
Thu, 26 Jun 2008 15:26:02 +0000
(11:26 -0400)
committer
Mike Gorse
<mgorse@boston.site>
Thu, 26 Jun 2008 15:26:02 +0000
(11:26 -0400)
registryd/registry-main.c
patch
|
blob
|
history
diff --git
a/registryd/registry-main.c
b/registryd/registry-main.c
index 3db50e4b39f71f242dba523965179629901a5620..d4c280e2c2e5538dfdbe61b70e165816b0de6e8b 100644
(file)
--- a/
registryd/registry-main.c
+++ b/
registryd/registry-main.c
@@
-66,9
+66,9
@@
main (int argc, char **argv)
dbus_error_init (&error);
mainloop = g_main_loop_new (NULL, FALSE);
- ret= dbus_bus_request_name(registry->droute.bus, SPI_DBUS_NAME_REGISTRY,
0
, &error);
+ ret= dbus_bus_request_name(registry->droute.bus, SPI_DBUS_NAME_REGISTRY,
DBUS_NAME_FLAG_DO_NOT_QUEUE
, &error);
- if (
!ret
)
+ if (
ret == DBUS_REQUEST_NAME_REPLY_EXISTS
)
{
#ifdef AT_SPI_DEBUG
fprintf (stderr, "SpiRegistry Message: SpiRegistry daemon was already running.\n");