e_dbus/bluez: fix var names
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Feb 2010 21:15:31 +0000 (21:15 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Feb 2010 21:15:31 +0000 (21:15 +0000)
By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/bluez/e_bluez_adapter.c

index 8548c10..f414f01 100644 (file)
@@ -109,10 +109,10 @@ e_bluez_adapter_powered_get(E_Bluez_Element *element, bool *powered)
  * @return 1 on success, 0 otherwise.
  */
 bool
-e_bluez_adapter_powered_set(E_Bluez_Element *profile, bool offline, E_DBus_Method_Return_Cb cb, const void *data)
+e_bluez_adapter_powered_set(E_Bluez_Element *element, bool powered, E_DBus_Method_Return_Cb cb, const void *data)
 {
-   EINA_SAFETY_ON_NULL_RETURN_VAL(profile, 0);
+   EINA_SAFETY_ON_NULL_RETURN_VAL(element, 0);
    return e_bluez_element_property_set_full
-     (profile, e_bluez_prop_powered, DBUS_TYPE_BOOLEAN,
-      &offline, cb, data);
+     (element, e_bluez_prop_powered, DBUS_TYPE_BOOLEAN,
+      &powered, cb, data);
 }