summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-21 21:57:13 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-21 21:57:13 +0000
commite59b7c56d974614b47f287177c275166e1e484c8 (patch)
tree16890ace7cb5fd7bee157ef4a2859893392d1498 /audio/headset.c
parent3193afa28ace9972e36a418b22e83aa2ef9c08d1 (diff)
Add workaround for the global connection variable
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 9a7daef0..728d38d2 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1542,6 +1542,8 @@ int main(int argc, char *argv[])
exit(1);
}
+ connection = system_bus;
+
if (setup_dbus(system_bus) < 0) {
error("Connection setup failed");
dbus_connection_unref(system_bus);