summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-07-29 09:44:12 +0200
committerBastien Nocera <hadess@hadess.net>2020-07-31 12:43:35 +0200
commit65ae8fa84f1c460e6e3258254cab22fa7abd8f5a (patch)
treea62fbe0a630733dd0aa312992533bd8579429b6e /src
parent751060c6ffa3b6199581ef98d7a88dede79710cf (diff)
downloadtotem-65ae8fa84f1c460e6e3258254cab22fa7abd8f5a.tar.gz
grilo: More s/blacklist/block/
Diffstat (limited to 'src')
-rw-r--r--src/totem-grilo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index a41a69f17..a7f06b60c 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -192,7 +192,7 @@ strv_has_prefix (const char * const *strv,
}
static gboolean
-source_is_blacklisted (GrlSource *source)
+source_is_blocked (GrlSource *source)
{
const char *id;
const char * const sources[] = {
@@ -210,7 +210,7 @@ source_is_blacklisted (GrlSource *source)
}
static gboolean
-source_is_browse_blacklisted (GrlSource *source)
+source_is_browse_blocked (GrlSource *source)
{
const char *id;
const char * const sources[] = {
@@ -226,7 +226,7 @@ source_is_browse_blacklisted (GrlSource *source)
}
static gboolean
-source_is_search_blacklisted (GrlSource *source)
+source_is_search_blocked (GrlSource *source)
{
const char *id;
const char * const sources[] = {
@@ -1286,7 +1286,7 @@ source_added_cb (GrlRegistry *registry,
if (self->priv->plugins_activated == FALSE)
return;
- if (source_is_blacklisted (source) ||
+ if (source_is_blocked (source) ||
source_is_forbidden (source) ||
!(grl_source_get_supported_media (source) & GRL_MEDIA_TYPE_VIDEO)) {
grl_registry_unregister_source (registry,
@@ -1317,7 +1317,7 @@ source_added_cb (GrlRegistry *registry,
/* https://gitlab.gnome.org/GNOME/grilo-plugins/merge_requests/29 */
if (g_str_equal (id, "grl-tracker-source") == FALSE)
monitor = TRUE;
- } else if (!source_is_browse_blacklisted (source)) {
+ } else if (!source_is_browse_blocked (source)) {
const GdkPixbuf *icon;
icon = totem_grilo_get_channel_icon ();
@@ -1343,7 +1343,7 @@ source_added_cb (GrlRegistry *registry,
}
}
if ((ops & GRL_OP_SEARCH) &&
- !source_is_search_blacklisted (source)) {
+ !source_is_search_blocked (source)) {
totem_search_entry_add_source (TOTEM_SEARCH_ENTRY (self->priv->search_entry),
grl_source_get_id (source),
name,