summaryrefslogtreecommitdiff
path: root/src/up-kbd-backlight.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-kbd-backlight.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-kbd-backlight.c')
-rw-r--r--src/up-kbd-backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-kbd-backlight.c b/src/up-kbd-backlight.c
index 2be22b6..fc34cd7 100644
--- a/src/up-kbd-backlight.c
+++ b/src/up-kbd-backlight.c
@@ -273,7 +273,7 @@ up_kbd_backlight_init (UpKbdBacklight *kbd_backlight)
return;
}
- kbd_backlight->priv->connection = dbus_g_bus_get (up_daemon_get_bus_type (), &error);
+ kbd_backlight->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);