diff options
author | Richard Hult <richard@imendio.com> | 2004-03-16 18:00:35 +0000 |
---|---|---|
committer | Richard Hult <richard@imendio.com> | 2004-03-16 18:00:35 +0000 |
commit | 93f433a17a0aabff91a0384bf9c4f99c9cf30ae1 (patch) | |
tree | be2ffbc0160abfb63808d994d076faa67e4ff81a /bus/services.c | |
parent | 24ffe79c80d376b058c2d154b2b5f0ef8fee1c36 (diff) | |
download | dbus-93f433a17a0aabff91a0384bf9c4f99c9cf30ae1.tar.gz |
2004-03-16 Richard Hult <richard@imendio.com>
* bus/activation.c: (bus_activation_service_created),
(bus_activation_send_pending_auto_activation_messages),
(bus_activation_activate_service):
* bus/activation.h:
* bus/dispatch.c: (bus_dispatch),
(check_nonexistent_service_auto_activation),
(check_service_auto_activated),
(check_segfault_service_auto_activation),
(check_existent_service_auto_activation), (bus_dispatch_test):
* bus/driver.c: (bus_driver_handle_activate_service):
* bus/services.c: (bus_registry_acquire_service):
* dbus/dbus-message.c: (dbus_message_set_auto_activation),
(dbus_message_get_auto_activation):
* dbus/dbus-message.h:
* dbus/dbus-protocol.h: Implement auto-activation.
Diffstat (limited to 'bus/services.c')
-rw-r--r-- | bus/services.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bus/services.c b/bus/services.c index ae7b7838..c5a6ded8 100644 --- a/bus/services.c +++ b/bus/services.c @@ -262,6 +262,7 @@ bus_registry_acquire_service (BusRegistry *registry, DBusConnection *current_owner; BusClientPolicy *policy; BusService *service; + BusActivation *activation; retval = FALSE; @@ -376,7 +377,11 @@ bus_registry_acquire_service (BusRegistry *registry, *result = DBUS_SERVICE_REPLY_PRIMARY_OWNER; } - retval = TRUE; + activation = bus_context_get_activation (registry->context); + retval = bus_activation_send_pending_auto_activation_messages (activation, + service, + transaction, + error); out: return retval; |