diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-03-16 05:46:20 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-03-16 05:46:20 +0100 |
commit | 96c01c88363d6e5e9b7519bc4e8b5d86cf783e1f (patch) | |
tree | ae1d142fd33b50c89a874d954607bef8eb6e8bc6 /libdleyna | |
parent | 776950d5d96ac9dbf5c5c47bde8ac06f50a3cf46 (diff) | |
download | dleyna-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.c | 4 |
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; |