diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-04-08 23:19:19 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-04-08 23:19:19 +0000 |
commit | 353376a06677af64fc6e81d3118adc2e059516b8 (patch) | |
tree | 04750057f8997acd704ba34dcb2843e170ce28b9 /audio/manager.c | |
parent | 7558cca5c0bd954dc3db559c0d58ae6e497b13c0 (diff) |
Fix some forgotton leftovers
Diffstat (limited to 'audio/manager.c')
-rw-r--r-- | audio/manager.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/manager.c b/audio/manager.c index 7c7a92c0..32eea81b 100644 --- a/audio/manager.c +++ b/audio/manager.c @@ -25,13 +25,22 @@ #include <config.h> #endif +#include <dbus/dbus.h> + #include "manager.h" -int audio_init(void) +static DBusConnection *connection = NULL; + +int audio_init(DBusConnection *conn) { + connection = dbus_connection_ref(conn); + return 0; } void audio_exit(void) { + dbus_connection_unref(connection); + + connection = NULL; } |