[Xfce4-commits] [xfce/xfce4-session] 01/01: Fix a crash when warning about the screenlocker (Bug #12603)

noreply at xfce.org noreply at xfce.org
Sat Jun 4 17:50:02 CEST 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit cb4dda3e6696746d5f8ceb147e0c8fc43e434d32
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sat Jun 4 18:49:52 2016 +0300

    Fix a crash when warning about the screenlocker (Bug #12603)
---
 xfce4-session/xfce-screensaver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xfce4-session/xfce-screensaver.c b/xfce4-session/xfce-screensaver.c
index de07d14..b866b4f 100644
--- a/xfce4-session/xfce-screensaver.c
+++ b/xfce4-session/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 */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list