summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Linkspfeifer <lastonestanding@tutanota.com>2020-12-17 20:37:23 +0100
committerTheo Linkspfeifer <lastonestanding@tutanota.com>2020-12-17 20:37:23 +0100
commit96dfb93bdb485fa83594ff293317657aaf3386b7 (patch)
treeb3fdf424c7cfe5d382326fb7c9a506faecb091f9
parent8419712777b78f394d8e6ca19940d0b235a7b888 (diff)
downloadxfce4-session-96dfb93bdb485fa83594ff293317657aaf3386b7.tar.gz
Don't warn when there are no saved sessions
-rw-r--r--libxfsm/xfsm-util.c2
-rw-r--r--xfce4-session/xfsm-manager.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libxfsm/xfsm-util.c b/libxfsm/xfsm-util.c
index 2bf8ad7c..61d91b1c 100644
--- a/libxfsm/xfsm-util.c
+++ b/libxfsm/xfsm-util.c
@@ -422,7 +422,7 @@ settings_list_sessions_delete_session (GtkButton *button,
if (!g_file_test (session_file, G_FILE_TEST_IS_REGULAR))
{
- g_warning ("xfsm_manager_load_session: Something wrong with %s, Does it exist? Permissions issue?", session_file);
+ g_debug ("xfsm_manager_load_session: Something wrong with %s, Does it exist? Permissions issue?", session_file);
return;
}
diff --git a/xfce4-session/xfsm-manager.c b/xfce4-session/xfsm-manager.c
index f2002e0d..f66ec4de 100644
--- a/xfce4-session/xfsm-manager.c
+++ b/xfce4-session/xfsm-manager.c
@@ -480,7 +480,7 @@ xfsm_manager_load_session (XfsmManager *manager,
if (!g_file_test (manager->session_file, G_FILE_TEST_IS_REGULAR))
{
- g_warning ("xfsm_manager_load_session: Something wrong with %s, Does it exist? Permissions issue?", manager->session_file);
+ g_debug ("xfsm_manager_load_session: Something wrong with %s, Does it exist? Permissions issue?", manager->session_file);
return FALSE;
}