[rhythmbox/wip/hadess/use-coherence] all: Remove "sanity check" verbiage




commit c75ca733b6b54357b112dbeb092a05c80477b8d4
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". The
    other usage will be removed when the meson port lands, and autotools
    support is removed.

 plugins/audioscrobbler/rb-audioscrobbler.c    | 2 +-
 plugins/ipod/rb-ipod-static-playlist-source.c | 2 +-
 plugins/iradio/rb-iradio-source.c             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
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]