From c92239969b9487bc33ba2b6eb85e81ae7a6afeb4 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 5 Sep 2008 19:51:29 +0300 Subject: Limit context of DBusConnection --- audio/telephony-dummy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/telephony-dummy.c b/audio/telephony-dummy.c index a67d3a5f..a161bc1e 100644 --- a/audio/telephony-dummy.c +++ b/audio/telephony-dummy.c @@ -36,8 +36,6 @@ #include "logging.h" #include "telephony.h" -DBusConnection *connection = NULL; - static gboolean events_enabled = FALSE; /* Response and hold state @@ -260,6 +258,8 @@ static GDBusMethodTable dummy_methods[] = { { } }; +static DBusConnection *connection = NULL; + int telephony_init(void) { uint32_t features = 0; -- cgit