From e59b7c56d974614b47f287177c275166e1e484c8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 21 Jan 2007 21:57:13 +0000 Subject: Add workaround for the global connection variable --- audio/headset.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit