gnome-power-manager r3307 - in branches/gnome-2-24: . libhal-glib



Author: rhughes
Date: Fri Feb 27 15:46:55 2009
New Revision: 3307
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3307&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-24/ChangeLog
   branches/gnome-2-24/libhal-glib/libhal-gdevice.c

Modified: branches/gnome-2-24/libhal-glib/libhal-gdevice.c
==============================================================================
--- branches/gnome-2-24/libhal-glib/libhal-gdevice.c	(original)
+++ branches/gnome-2-24/libhal-glib/libhal-gdevice.c	Fri Feb 27 15:46:55 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]