diff options
author | Martin Pitt <martinpitt@gnome.org> | 2013-02-20 15:02:37 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2013-02-20 15:02:37 +0100 |
commit | 33dfc13c070497b0bf27307e8b17a4c048cde235 (patch) | |
tree | c96889919ab665d3f9620743c4443b6ddc55b4b0 /src/up-device.c | |
parent | da066045e4e3ffde26e63285a818880be6ff3316 (diff) |
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-device.c')
-rw-r--r-- | src/up-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-device.c b/src/up-device.c index efb8d72..12f32ff 100644 --- a/src/up-device.c +++ b/src/up-device.c @@ -889,7 +889,7 @@ up_device_init (UpDevice *device) device->priv->during_coldplug = FALSE; device->priv->history = up_history_new (); - device->priv->system_bus_connection = dbus_g_bus_get (up_daemon_get_bus_type (), &error); + device->priv->system_bus_connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error); if (device->priv->system_bus_connection == NULL) { g_error ("error getting system bus: %s", error->message); g_error_free (error); |