Some dir debuggings
authorKlaus Ethgen <Klaus@Ethgen.de>
Mon, 18 Dec 2017 09:54:40 +0000 (10:54 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Mon, 18 Dec 2017 09:54:56 +0000 (10:54 +0100)
src/ui_fileops.c

index a58777d..a479010 100644 (file)
@@ -194,6 +194,8 @@ const gchar *homedir(void)
        if (!home)
                home = path_to_utf8(g_get_home_dir());
 
+       DEBUG_1("Home directory: %s", home);
+
        return home;
 }
 
@@ -206,6 +208,8 @@ static gchar *xdg_dir_get(const gchar *key, const gchar *fallback)
                return g_build_filename(homedir(), fallback, NULL);
                }
 
+       DEBUG_1("Got xdg %s: %s", key, dir);
+
        return path_to_utf8(dir);
 }