summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-09-16 15:26:47 +0200
committerLudovic Ferrandis <ludovic.ferrandis@intel.com>2013-09-16 15:26:47 +0200
commit953fafd6dd563bf3e4d17a8dbaa5d85a33c40979 (patch)
treee9551e40aedbbc4c1552e553990ecb9dbb60198d
parentc60ec4fb2df0e9a67f3bf6c7b9e0436e9c73de6c (diff)
downloaddleyna-renderer-953fafd6dd563bf3e4d17a8dbaa5d85a33c40979.tar.gz
[Deprecated API] Use new API instead of deprecated
Use instead gssdp_client_get_host_ip of gupnp_context_get_host_ip Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
-rw-r--r--libdleyna/renderer/upnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdleyna/renderer/upnp.c b/libdleyna/renderer/upnp.c
index bd9a688..7195d46 100644
--- a/libdleyna/renderer/upnp.c
+++ b/libdleyna/renderer/upnp.c
@@ -161,8 +161,8 @@ static void prv_server_available_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;