diff options
author | Jens Georg <mail@jensge.org> | 2022-01-03 18:09:55 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-01-03 18:09:55 +0100 |
commit | 479c48f4272a4d07ceb90174143722e046ef25be (patch) | |
tree | c14e4feebf0eebb1542fc9a31d726ebc73df6467 /examples | |
parent | 69527ea481118815851475659c75b504b4d61b6f (diff) | |
download | gupnp-479c48f4272a4d07ceb90174143722e046ef25be.tar.gz |
ServiceAction: Forward-port Action.return_success
Diffstat (limited to 'examples')
-rw-r--r-- | examples/light-server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/light-server.c b/examples/light-server.c index 66f8566..246b4d6 100644 --- a/examples/light-server.c +++ b/examples/light-server.c @@ -69,7 +69,7 @@ set_target_cb (GUPnPService *service, } /* Return success to the client */ - gupnp_service_action_return (action); + gupnp_service_action_return_success (action); } /* GetTarget */ @@ -81,7 +81,7 @@ get_target_cb (G_GNUC_UNUSED GUPnPService *service, gupnp_service_action_set (action, "RetTargetValue", G_TYPE_BOOLEAN, status, NULL); - gupnp_service_action_return (action); + gupnp_service_action_return_success (action); } /* GetStatus */ @@ -93,7 +93,7 @@ get_status_cb (G_GNUC_UNUSED GUPnPService *service, gupnp_service_action_set (action, "ResultStatus", G_TYPE_BOOLEAN, status, NULL); - gupnp_service_action_return (action); + gupnp_service_action_return_success (action); } /* |