summaryrefslogtreecommitdiff
path: root/sendto/plugins/upnp/upnp.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-31 09:26:32 +0100
committerraveit65 <[email protected]>2021-01-16 10:51:02 +0100
commitdd71dbb570b45cef2ea4110cd29b36ddb7ede534 (patch)
tree8d14c012fbdc7c5b60a9f24d93f17f25db224c84 /sendto/plugins/upnp/upnp.c
parent5bcfd992f981aef751fc7f681b9789aa08b8961c (diff)
downloadcaja-extensions-dd71dbb570b45cef2ea4110cd29b36ddb7ede534.tar.bz2
caja-extensions-dd71dbb570b45cef2ea4110cd29b36ddb7ede534.tar.xz
Remove warning -Wshadow
Diffstat (limited to 'sendto/plugins/upnp/upnp.c')
-rw-r--r--sendto/plugins/upnp/upnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sendto/plugins/upnp/upnp.c b/sendto/plugins/upnp/upnp.c
index cfa25ff..62cb2cb 100644
--- a/sendto/plugins/upnp/upnp.c
+++ b/sendto/plugins/upnp/upnp.c
@@ -167,7 +167,7 @@ device_proxy_unavailable_cb (GUPnPControlPoint *cp,
}
static void
-on_context_available (GUPnPContextManager *context_manager,
+on_context_available (GUPnPContextManager *manager,
GUPnPContext *context,
gpointer user_data)
{
@@ -187,7 +187,7 @@ on_context_available (GUPnPContextManager *context_manager,
gssdp_resource_browser_set_active (GSSDP_RESOURCE_BROWSER (cp), TRUE);
/* Let context manager take care of the control point life cycle */
- gupnp_context_manager_manage_control_point (context_manager, cp);
+ gupnp_context_manager_manage_control_point (manager, cp);
g_object_unref (cp);
}