diff options
Diffstat (limited to 'src/up-wakeups.c')
-rw-r--r-- | src/up-wakeups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-wakeups.c b/src/up-wakeups.c index 339230d..50b7bb0 100644 --- a/src/up-wakeups.c +++ b/src/up-wakeups.c @@ -743,7 +743,7 @@ up_wakeups_init (UpWakeups *wakeups) wakeups->priv->has_capability = FALSE; wakeups->priv->polling_enabled = FALSE; - wakeups->priv->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error); + wakeups->priv->connection = dbus_g_bus_get (up_daemon_get_bus_type (), &error); if (error != NULL) { g_warning ("Cannot connect to bus: %s", error->message); g_error_free (error); |