summaryrefslogtreecommitdiff
path: root/libdleyna
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-03-16 05:46:20 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-03-16 05:46:20 +0100
commit96c01c88363d6e5e9b7519bc4e8b5d86cf783e1f (patch)
treeae1d142fd33b50c89a874d954607bef8eb6e8bc6 /libdleyna
parent776950d5d96ac9dbf5c5c47bde8ac06f50a3cf46 (diff)
downloaddleyna-server-96c01c88363d6e5e9b7519bc4e8b5d86cf783e1f.tar.gz
Port to gupnp-1.2
gupnp_context_get_host_ip has been deprecated for a long time, as the host-ip property moved to gssdp. There is also a ton of new deprecations but I will address that separately.
Diffstat (limited to 'libdleyna')
-rw-r--r--[-rwxr-xr-x]libdleyna/server/upnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdleyna/server/upnp.c b/libdleyna/server/upnp.c
index 9913a76..d04efb8 100755..100644
--- a/libdleyna/server/upnp.c
+++ b/libdleyna/server/upnp.c
@@ -351,8 +351,8 @@ static void prv_device_unavailable_cb(GUPnPControlPoint *cp,
udn = gupnp_device_info_get_udn((GUPnPDeviceInfo *)proxy);
- ip_address = gupnp_context_get_host_ip(
- gupnp_control_point_get_context(cp));
+ ip_address = gssdp_client_get_host_ip(
+ GSSDP_CLIENT(gupnp_control_point_get_context(cp)));
if (!udn || !ip_address)
goto on_error;