[rhythmbox/wip/hadess/use-coherence: 3/3] all: Remove "sanity check" verbiage
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/use-coherence: 3/3] all: Remove "sanity check" verbiage
- Date: Mon, 15 Nov 2021 13:44:06 +0000 (UTC)
commit fecbc61af6fc6b084c7cd0d11da15713006738d7
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 21 11:19:52 2021 +0200
all: Remove "sanity check" verbiage
Rename to coherence checks, as this had nothing to do with "sanity".
config.h.meson | 4 ++--
meson.build | 2 +-
meson_options.txt | 2 +-
plugins/audioscrobbler/rb-audioscrobbler.c | 2 +-
plugins/ipod/rb-ipod-static-playlist-source.c | 2 +-
plugins/iradio/rb-iradio-source.c | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/config.h.meson b/config.h.meson
index 5b2178b6e..8c3c57f16 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -86,8 +86,8 @@
/* Define to the version of this package. */
#mesondefine PACKAGE_VERSION
-/* Define to the level of RhythmDB sanity checking */
-#mesondefine RHYTHMDB_ENABLE_SANITY_CHECK
+/* Define to the level of RhythmDB coherence checking */
+#mesondefine RHYTHMDB_ENABLE_COHERENCE_CHECK
/* The size of `long', as computed by sizeof. */
#mesondefine SIZEOF_LONG
diff --git a/meson.build b/meson.build
index afc87c6bd..d83b22c02 100644
--- a/meson.build
+++ b/meson.build
@@ -138,7 +138,7 @@ endif
cdata.set10('WITH_RHYTHMDB_TREE', 1)
-cdata.set10('RHYTHMDB_ENABLE_SANITY_CHECK', get_option('rhythmdb_debug'))
+cdata.set10('RHYTHMDB_ENABLE_COHERENCE_CHECK', get_option('rhythmdb_debug'))
have_gnu_fwrite_unlocked = cc.has_function('fwrite_unlocked')
diff --git a/meson_options.txt b/meson_options.txt
index c0b85ab15..4237bf141 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -36,4 +36,4 @@ option('database', type: 'combo', choices: ['tree'], value: 'tree',
option('tests', type: 'boolean', value: 'false',
description: 'Build tests')
option('rhythmdb_debug', type: 'combo', choices: ['0', '1', '2'], value: '0',
- description: 'Level of RhythmDB sanity checking')
+ description: 'Level of RhythmDB coherence checking')
diff --git a/plugins/audioscrobbler/rb-audioscrobbler.c b/plugins/audioscrobbler/rb-audioscrobbler.c
index 59a054205..66dc6f1d5 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler.c
@@ -689,7 +689,7 @@ rb_audioscrobbler_offline_play_notify_cb (RhythmDB *db,
{
g_return_if_fail (G_VALUE_HOLDS_ULONG (metadata));
- /* FIXME: do sanity checks on play_date value? */
+ /* FIXME: do coherence checks on play_date value? */
if (rb_audioscrobbler_is_queueable (rb_entry)) {
AudioscrobblerEntry *as_entry;
diff --git a/plugins/ipod/rb-ipod-static-playlist-source.c b/plugins/ipod/rb-ipod-static-playlist-source.c
index e9e5bb0ac..779fa4ddf 100644
--- a/plugins/ipod/rb-ipod-static-playlist-source.c
+++ b/plugins/ipod/rb-ipod-static-playlist-source.c
@@ -105,7 +105,7 @@ playlist_before_save (RbIpodDb *ipod_db, gpointer data)
return;
priv->was_reordered = FALSE;
- /* Sanity check that all tracks are in entry_map */
+ /* Coherence check that all tracks are in entry_map */
g_object_get (G_OBJECT (data), "base-query-model", &model, NULL);
if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (model), &iter)) {
diff --git a/plugins/iradio/rb-iradio-source.c b/plugins/iradio/rb-iradio-source.c
index 71d0e6e46..4a7398ea2 100644
--- a/plugins/iradio/rb-iradio-source.c
+++ b/plugins/iradio/rb-iradio-source.c
@@ -990,7 +990,7 @@ info_available_cb (RBPlayer *backend,
gboolean set_field = FALSE;
char *str = NULL;
- /* sanity check */
+ /* coherence check */
if (!rb_player_opened (backend)) {
rb_debug ("Got info_available but not playing");
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]