[gupnp] Remove more white-list references



commit cdb18421c4706fa5882b3f1196aba56ed51e8688
Author: Jens Georg <mail jensge org>
Date:   Sat Aug 14 09:26:47 2021 +0200

    Remove more white-list references

 libgupnp/gupnp-context-filter.c  | 2 +-
 libgupnp/gupnp-context-manager.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgupnp/gupnp-context-filter.c b/libgupnp/gupnp-context-filter.c
index f5c2034..e23f0eb 100644
--- a/libgupnp/gupnp-context-filter.c
+++ b/libgupnp/gupnp-context-filter.c
@@ -171,7 +171,7 @@ gupnp_context_filter_class_init (GUPnPContextFilterClass *klass)
                 g_param_spec_pointer (
                         "entries",
                         "Entries",
-                        "GList of strings that compose the white list.",
+                        "GList of strings that compose the context filter.",
                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
                                 G_PARAM_STATIC_STRINGS));
 }
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index 49adc06..fa29d65 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -115,7 +115,7 @@ on_context_available (GUPnPContextManager    *manager,
 
         context_filter = priv->context_filter;
 
-        /* Try to catch the notification, only if the white list
+        /* Try to catch the notification, only if the context filter
          * is enabled, not empty and the context doesn't match */
         if (!gupnp_context_filter_is_empty (context_filter) &&
             gupnp_context_filter_get_enabled (context_filter) &&
@@ -255,7 +255,7 @@ gupnp_context_manager_filter_context (GUPnPContextFilter *context_filter,
         iter = priv->filtered;
 
         while (obj != NULL) {
-                /* If the white list is empty, treat it as disabled */
+                /* If the context filter is empty, treat it as disabled */
                 if (check) {
                         GUPnPContext *context;
                         const char *property = "context";
@@ -295,7 +295,7 @@ gupnp_context_manager_filter_context (GUPnPContextFilter *context_filter,
         }
 
         while (iter != NULL) {
-                /* If the white list is empty, treat it as disabled */
+                /* If the context filter is empty, treat it as disabled */
                 if (check)
                         /* Filter out context */
                         match = gupnp_context_filter_check_context (
@@ -545,7 +545,7 @@ gupnp_context_manager_class_init (GUPnPContextManagerClass *klass)
         /**
          * GUPnPContextManager:context-filter:
          *
-         * The white list to use.
+         * The context filter to use.
          **/
         g_object_class_install_property (
                 object_class,


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