summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 19:51:29 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 19:51:29 +0300
commitc92239969b9487bc33ba2b6eb85e81ae7a6afeb4 (patch)
treeb771d06c8a5c44b49b1c8b7e0bd38436f5fc3937
parentae4b865375b5d521f6c2e51815f7e1eb6f0a7638 (diff)
Limit context of DBusConnection
-rw-r--r--audio/telephony-dummy.c4
1 files 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;