Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 3c4acf9

Browse files
lferrandisjku
authored andcommitted
[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 <[email protected]> Fixes #148. Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent a885579 commit 3c4acf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libdleyna/renderer/upnp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ static void prv_server_available_cb(GUPnPControlPoint *cp,
162162

163163
udn = gupnp_device_info_get_udn((GUPnPDeviceInfo *)proxy);
164164

165-
ip_address = gupnp_context_get_host_ip(
166-
gupnp_control_point_get_context(cp));
165+
ip_address = gssdp_client_get_host_ip(
166+
GSSDP_CLIENT(gupnp_control_point_get_context(cp)));
167167

168168
if (!udn || !ip_address)
169169
goto on_error;

0 commit comments

Comments
 (0)