[sound-juicer/wip/gsettings] fixup! Port SoundJuicer to gsettings



commit 10f0f24c054fb6f1b5295eda1ba82876544a34f4
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Fri Sep 20 17:28:27 2013 +0100

    fixup! Port SoundJuicer to gsettings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=625897

 src/sj-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index eae6b34..4c2dec6 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -1080,7 +1080,7 @@ static void baseuri_changed_cb (GSettings *settings, gchar *key, gpointer user_d
     g_object_unref (base_uri);
   }
   value = g_settings_get_string (settings, key);
-  if ((value == NULL) || (*value == '\0')) {
+  if (sj_str_is_empty (value)) {
     base_uri = sj_get_default_music_directory ();
   } else {
     GFileType file_type;


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