Force to run in session bus
authorjaviplx <javiplx@gmail.com>
Fri, 8 Oct 2010 14:11:08 +0000 (14:11 +0000)
committerjaviplx <javiplx@gmail.com>
Fri, 8 Oct 2010 14:11:08 +0000 (14:11 +0000)
git-svn-id: file:///svnroot/wifihood/trunk@22 c51dfc6a-5949-4919-9c8e-f207a149c383

wifiscand/wifiscand.c

index f94bee5..957dd08 100644 (file)
@@ -443,7 +443,7 @@ int main( void ) {
        osso_context = osso_initialize(OSSO_NAME, WIFISCAND_VERSION_STRING, TRUE, NULL);
 #else
        dbus_error_init(&error);
-       osso_context = dbus_bus_get(DBUS_BUS_STARTER, &error);
+       osso_context = dbus_bus_get(DBUS_BUS_SESSION, &error);
 #endif
 
        /* Check that initialization was ok */