[gupnp-tools] network-light: Use newTargetValue
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools] network-light: Use newTargetValue
- Date: Sun, 24 Apr 2016 22:10:52 +0000 (UTC)
commit 6699fa1958a0a4d66921d5c30eaadc8c109e4bc0
Author: Jens Georg <mail jensge org>
Date: Wed Apr 20 23:00:37 2016 +0200
network-light: Use newTargetValue
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=764050
data/xml/SwitchPower-scpd.xml | 2 +-
src/network-light/upnp.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/xml/SwitchPower-scpd.xml b/data/xml/SwitchPower-scpd.xml
index 25f4e6a..b3ac9a4 100644
--- a/data/xml/SwitchPower-scpd.xml
+++ b/data/xml/SwitchPower-scpd.xml
@@ -10,7 +10,7 @@
<name>SetTarget</name>
<argumentList>
<argument>
-<name>NewTargetValue</name>
+<name>newTargetValue</name>
<relatedStateVariable>Target</relatedStateVariable>
<direction>in</direction>
</argument>
diff --git a/src/network-light/upnp.c b/src/network-light/upnp.c
index 1cb6682..234aa83 100644
--- a/src/network-light/upnp.c
+++ b/src/network-light/upnp.c
@@ -216,7 +216,7 @@ on_set_target (GUPnPService *service,
gboolean status;
gupnp_service_action_get (action,
- "NewTargetValue",
+ "newTargetValue",
G_TYPE_BOOLEAN,
&status,
NULL);
@@ -466,7 +466,7 @@ set_all_status (gboolean status)
action_name,
on_service_proxy_action_ret,
action_name,
- "NewTargetValue",
+ "newTargetValue",
G_TYPE_BOOLEAN,
status,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]