summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 17:24:48 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 17:24:48 +0000
commit2af3c3a7ddc43577c067892cdfdc06dc4e63386c (patch)
tree6ed975fdc985e2d4c55e97f58b2d7ef124485b98 /audio
parente3dede624b3f622fdb176b140e057f98cf26ca2b (diff)
Remove service daemon activation handling
Diffstat (limited to 'audio')
-rw-r--r--audio/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/main.c b/audio/main.c
index eaa04806..f54f74de 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -96,15 +96,19 @@ static int audio_init(void)
g_key_file_free(config);
- register_uuids("audio", uuids);
+ register_service("audio");
- register_external_service(conn, "audio", "Audio service", "");
+ register_uuids("audio", uuids);
return 0;
}
static void audio_exit(void)
{
+ unregister_uuids("audio");
+
+ unregister_service("audio");
+
audio_manager_exit();
unix_exit();