summaryrefslogtreecommitdiff
path: root/src/up-wakeups.c
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-02-20 15:02:37 +0100
committerMartin Pitt <martinpitt@gnome.org>2013-02-20 15:02:37 +0100
commit33dfc13c070497b0bf27307e8b17a4c048cde235 (patch)
treec96889919ab665d3f9620743c4443b6ddc55b4b0 /src/up-wakeups.c
parentda066045e4e3ffde26e63285a818880be6ff3316 (diff)
downloadupower-33dfc13c070497b0bf27307e8b17a4c048cde235.tar.gz
Revert "Add option to run daemon on the session bus for testing"
This reverts commit eddcf0ef3d0b8445618e368328d7e110a83b69b3. We don't need the --test option any more now that we always run tests on a (fake) system D-BUS.
Diffstat (limited to 'src/up-wakeups.c')
-rw-r--r--src/up-wakeups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-wakeups.c b/src/up-wakeups.c
index e331500..0eb8e35 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 (up_daemon_get_bus_type (), &error);
+ wakeups->priv->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
if (error != NULL) {
g_warning ("Cannot connect to bus: %s", error->message);
g_error_free (error);