diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-21 21:57:13 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-21 21:57:13 +0000 |
commit | e59b7c56d974614b47f287177c275166e1e484c8 (patch) | |
tree | 16890ace7cb5fd7bee157ef4a2859893392d1498 /audio | |
parent | 3193afa28ace9972e36a418b22e83aa2ef9c08d1 (diff) |
Add workaround for the global connection variable
Diffstat (limited to 'audio')
-rw-r--r-- | audio/headset.c | 2 |
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); |