diff options
author | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-09-16 15:26:47 +0200 |
---|---|---|
committer | Jussi Kukkonen <jku@goto.fi> | 2014-07-11 11:12:01 +0300 |
commit | 3c4acf93f2639d857d4524f4d6304b3de1e03f24 (patch) | |
tree | c24e5b19d16a325b9074e7cc17a6f16c9960fe91 | |
parent | a885579c011891f0e33f8d1ceea642514c36b9be (diff) | |
download | dleyna-renderer-3c4acf93f2639d857d4524f4d6304b3de1e03f24.tar.gz |
[Deprecated API] Use new API instead of deprecated
Use gssdp_client_get_host_ip() instead of gupnp_context_get_host_ip()
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Fixes #148.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r-- | libdleyna/renderer/upnp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdleyna/renderer/upnp.c b/libdleyna/renderer/upnp.c index 0c9c30c..1b2b845 100644 --- a/libdleyna/renderer/upnp.c +++ b/libdleyna/renderer/upnp.c @@ -162,8 +162,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; |