summaryrefslogtreecommitdiff
path: root/tools/dkp-client-device.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-09 14:27:32 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-09 14:27:32 +0100
commit918c35586bf257d316b0dfc6c0822a9c9c142f17 (patch)
tree9bc33b487f1024c3995168baf746f84295087ac1 /tools/dkp-client-device.c
parent6a498f04873034cc856c02870e7ed0f18fe2094d (diff)
refactor out DkpDevice and DkpSupply so we can add another type of device without a metric ton of copy and paste
Diffstat (limited to 'tools/dkp-client-device.c')
-rw-r--r--tools/dkp-client-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dkp-client-device.c b/tools/dkp-client-device.c
index a3effc9..ad4a245 100644
--- a/tools/dkp-client-device.c
+++ b/tools/dkp-client-device.c
@@ -146,7 +146,7 @@ dkp_client_device_set_object_path (DkpClientDevice *device, const gchar *object_
/* connect to the correct path for all the other methods */
proxy_source = dbus_g_proxy_new_for_name (device->priv->bus, "org.freedesktop.DeviceKit.Power",
- object_path, "org.freedesktop.DeviceKit.Power.Source");
+ object_path, "org.freedesktop.DeviceKit.Power.Device");
if (proxy_source == NULL) {
dkp_warning ("Couldn't connect to proxy");
goto out;