[gnome-power-manager] Use the correct interface name for DeviceKit-disks
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Use the correct interface name for DeviceKit-disks
- Date: Fri, 11 Sep 2009 14:13:42 +0000 (UTC)
commit 9d02ce3a4d36153b905f4703de9a7131ad768eb0
Author: Richard Hughes <richard hughsie com>
Date: Fri Sep 11 15:12:39 2009 +0100
Use the correct interface name for DeviceKit-disks
src/gpm-disks.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gpm-disks.c b/src/gpm-disks.c
index d8b5d24..f13808a 100644
--- a/src/gpm-disks.c
+++ b/src/gpm-disks.c
@@ -147,10 +147,11 @@ gpm_disks_init (GpmDisks *disks)
disks->priv->cookie = NULL;
- /* get org.gnome.Session.ClientPrivate interface */
+ /* get proxy to interface */
connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, NULL);
disks->priv->proxy = dbus_g_proxy_new_for_name_owner (connection,
- "org.freedesktop.DeviceKit.Disks", "/",
+ "org.freedesktop.DeviceKit.Disks",
+ "/org/freedesktop/DeviceKit/Disks",
"org.freedesktop.DeviceKit.Disks", &error);
if (disks->priv->proxy == NULL) {
egg_warning ("DBUS error: %s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]