From ecba04cf3b65538a067746dee564908cf761034c Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Sat, 4 Jun 2016 17:44:10 +0300 Subject: [PATCH] Fix a crash when warning about the screenlocker (Bug #12603) --- src/xfce-screensaver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xfce-screensaver.c b/src/xfce-screensaver.c index de07d14..b315b42 100644 --- a/src/xfce-screensaver.c +++ b/src/xfce-screensaver.c @@ -540,9 +540,9 @@ xfce_screensaver_lock (XfceScreenSaver *saver) if (!ret) { - g_error ("Screensaver lock command not set when attempting to lock the screen.\n" - "Please set the xfconf property %s%s in xfce4-session to the desired lock command", - XFSM_PROPERTIES_PREFIX, LOCK_COMMAND); + g_warning ("Screensaver lock command not set when attempting to lock the screen.\n" + "Please set the xfconf property %s%s in xfce4-session to the desired lock command", + XFSM_PROPERTIES_PREFIX, LOCK_COMMAND); /* Fall back to trying a couple others, using the xdg standard * one first */ -- 2.8.3