gnome-power-manager r3308 - in branches/gnome-2-22: . libhal-glib



Author: rhughes
Date: Fri Feb 27 15:48:11 2009
New Revision: 3308
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3308&view=rev

Log:
2009-02-27  Richard Hughes  <richard hughsie com>

* libhal-glib/libhal-gdevice.c: (hal_gdevice_query_capability):
Fix a typo when we try to get device properties.
Found by Arnaud Patard, many thanks.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/libhal-glib/libhal-gdevice.c

Modified: branches/gnome-2-22/libhal-glib/libhal-gdevice.c
==============================================================================
--- branches/gnome-2-22/libhal-glib/libhal-gdevice.c	(original)
+++ branches/gnome-2-22/libhal-glib/libhal-gdevice.c	Fri Feb 27 15:48:11 2009
@@ -280,7 +280,7 @@
 		return FALSE;
 	}
 	ret = dbus_g_proxy_call (proxy, "QueryCapability", error,
-				 G_TYPE_STRING, device->priv->udi,
+				 G_TYPE_STRING, capability,
 				 G_TYPE_INVALID,
 				 G_TYPE_BOOLEAN, has_capability,
 				 G_TYPE_INVALID);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]