[gupnp] Drop GUPnPWhiteList completely



commit e879d1a91ae60fdb6000a296c1a70f5481f140f2
Author: Jens Georg <mail jensge org>
Date:   Fri May 20 01:34:29 2022 +0200

    Drop GUPnPWhiteList completely

 libgupnp/gupnp-context-manager.c |  16 ---
 libgupnp/gupnp-context-manager.h |   5 -
 libgupnp/gupnp-white-list.c      | 236 ---------------------------------------
 libgupnp/gupnp-white-list.h      |  58 ----------
 libgupnp/meson.build             |   2 -
 5 files changed, 317 deletions(-)
---
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index 5092005..9501f3d 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -866,22 +866,6 @@ gupnp_context_manager_get_context_filter (GUPnPContextManager *manager)
         return priv->context_filter;
 }
 
-/**
- * gupnp_context_manager_get_white_list:
- * @manager: A #GUPnPContextManager
- *
- * Get the #GUPnPContextFilter associated with @manager.
- *
- * Returns: (transfer none):  The #GUPnPContextFilter associated with this
- * context manager.
- * Deprecated: 1.4.0: Use [method@GUPnP.ContextManager.get_context_filter] instead.
- */
-GUPnPWhiteList *
-gupnp_context_manager_get_white_list (GUPnPContextManager *manager)
-{
-        return gupnp_context_manager_get_context_filter (manager);
-}
-
 /**
  * gupnp_context_manager_get_socket_family:(attributes org.gtk.Method.get_property=family)
  * @manager: A #GUPnPContextManager
diff --git a/libgupnp/gupnp-context-manager.h b/libgupnp/gupnp-context-manager.h
index dadeebc..00e0a31 100644
--- a/libgupnp/gupnp-context-manager.h
+++ b/libgupnp/gupnp-context-manager.h
@@ -15,7 +15,6 @@
 #include "gupnp-context.h"
 #include "gupnp-control-point.h"
 #include "gupnp-root-device.h"
-#include "gupnp-white-list.h"
 #include <glib.h>
 
 G_BEGIN_DECLS
@@ -67,10 +66,6 @@ gupnp_context_manager_get_port          (GUPnPContextManager *manager);
 GUPnPContextFilter *
 gupnp_context_manager_get_context_filter (GUPnPContextManager *manager);
 
-G_GNUC_DEPRECATED_FOR (gupnp_context_manager_get_context_filter)
-GUPnPWhiteList *
-gupnp_context_manager_get_white_list (GUPnPContextManager *manager);
-
 GSocketFamily
 gupnp_context_manager_get_socket_family (GUPnPContextManager *manager);
 
diff --git a/libgupnp/meson.build b/libgupnp/meson.build
index bb186be..e0a7c3d 100644
--- a/libgupnp/meson.build
+++ b/libgupnp/meson.build
@@ -61,7 +61,6 @@ headers = files(
     'gupnp-service-proxy.h',
     'gupnp-types.h',
     'gupnp-uuid.h',
-    'gupnp-white-list.h',
     'gupnp-xml-doc.h'
 )
 install_headers(headers, subdir : GUPNP_API_NAME / 'libgupnp')
@@ -86,7 +85,6 @@ sources = files(
     'gupnp-service-proxy-action.c',
     'gupnp-simple-context-manager.c',
     'gupnp-types.c',
-    'gupnp-white-list.c',
     'gupnp-xml-doc.c',
     'gvalue-util.c',
     'http-headers.c',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]