diff options
Diffstat (limited to 'src/av-cp/main.c')
-rw-r--r-- | src/av-cp/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/av-cp/main.c b/src/av-cp/main.c index 130eb6a..647e8ef 100644 --- a/src/av-cp/main.c +++ b/src/av-cp/main.c @@ -146,7 +146,7 @@ on_context_available (GUPnPContextManager *cm, static gboolean init_upnp (int port) { - GUPnPWhiteList *white_list; + GUPnPContextFilter *context_filter; GtkButton *button; GUPnPResourceFactory *factory; GSocketFamily family = G_SOCKET_FAMILY_INVALID; @@ -190,10 +190,10 @@ init_upnp (int port) g_assert (context_manager != NULL); if (interfaces != NULL) { - white_list = gupnp_context_manager_get_white_list - (context_manager); - gupnp_white_list_add_entryv (white_list, interfaces); - gupnp_white_list_set_enabled (white_list, TRUE); + context_filter = gupnp_context_manager_get_context_filter ( + context_manager); + gupnp_context_filter_add_entryv (context_filter, interfaces); + gupnp_context_filter_set_enabled (context_filter, TRUE); } g_signal_connect (context_manager, |