[gupnp/wip/phako/libsoup3] ServiceProxy: Do not check calling proxy in action
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp/wip/phako/libsoup3] ServiceProxy: Do not check calling proxy in action
- Date: Mon, 27 Dec 2021 08:56:41 +0000 (UTC)
commit ba0ee8c84987266d1b98a355a4662b4bafe5013e
Author: Jens Georg <mail jensge org>
Date: Mon Dec 6 18:32:21 2021 +0100
ServiceProxy: Do not check calling proxy in action
Fixes regression introduced with 9a6534a4, causing the deprecated GUPnP
calls to fail
libgupnp/gupnp-service-proxy.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index 349d90c..bb1026b 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -922,7 +922,6 @@ gupnp_service_proxy_end_action (GUPnPServiceProxy *proxy,
g_return_val_if_fail (GUPNP_IS_SERVICE_PROXY (proxy), FALSE);
g_return_val_if_fail (action, FALSE);
- g_return_val_if_fail (proxy == action->proxy, FALSE);
if (action->error) {
g_propagate_error (error, action->error);
@@ -964,7 +963,6 @@ gupnp_service_proxy_end_action_valist (GUPnPServiceProxy *proxy,
g_return_val_if_fail (GUPNP_IS_SERVICE_PROXY (proxy), FALSE);
g_return_val_if_fail (action, FALSE);
- g_return_val_if_fail (proxy == action->proxy, FALSE);
if (action->error) {
g_propagate_error (error, action->error);
@@ -1013,7 +1011,6 @@ gupnp_service_proxy_end_action_list (GUPnPServiceProxy *proxy,
g_return_val_if_fail (GUPNP_IS_SERVICE_PROXY (proxy), FALSE);
g_return_val_if_fail (action, FALSE);
- g_return_val_if_fail (proxy == action->proxy, FALSE);
/* Check for saved error from begin_action() */
if (action->error) {
@@ -1058,7 +1055,6 @@ gupnp_service_proxy_end_action_hash
g_return_val_if_fail (GUPNP_IS_SERVICE_PROXY (proxy), FALSE);
g_return_val_if_fail (action, FALSE);
- g_return_val_if_fail (proxy == action->proxy, FALSE);
/* Check for saved error from begin_action() */
if (action->error) {
@@ -1093,7 +1089,6 @@ gupnp_service_proxy_cancel_action (GUPnPServiceProxy *proxy,
{
g_return_if_fail (GUPNP_IS_SERVICE_PROXY (proxy));
g_return_if_fail (action);
- g_return_if_fail (proxy == action->proxy);
if (action->cancellable != NULL) {
g_cancellable_cancel (action->cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]