summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 18:37:09 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 18:37:09 +0000
commitb5514e6c7f0258da455bbde02482fbcdb29d4442 (patch)
tree5e3fceee9da373a47ecc9d3c13f60c2fddee2d3f /audio
parent5442ba4d63b8f9548e140a47f63046c11819a972 (diff)
Register service and UUIDs in one step
Diffstat (limited to 'audio')
-rw-r--r--audio/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/audio/main.c b/audio/main.c
index f54f74de..5b4e395b 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -96,17 +96,13 @@ static int audio_init(void)
g_key_file_free(config);
- register_service("audio");
-
- register_uuids("audio", uuids);
+ register_service("audio", uuids);
return 0;
}
static void audio_exit(void)
{
- unregister_uuids("audio");
-
unregister_service("audio");
audio_manager_exit();