[Xfce4-commits] [xfce/xfdesktop] 02/03: Make "another desktop manager is running" messages critical (Bug #13653)

noreply at xfce.org noreply at xfce.org
Tue Jul 18 17:18:01 CEST 2017


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

e   r   i   c       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfdesktop.

commit 1b5faf7fbc61286394c5e84d1d3ad02b3a03779b
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Tue Jul 18 08:46:10 2017 +0300

    Make "another desktop manager is running" messages critical (Bug #13653)
    
    Since we're about to exit xfdesktop on the user.
---
 src/xfce-desktop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xfce-desktop.c b/src/xfce-desktop.c
index 513d002..af09a98 100644
--- a/src/xfce-desktop.c
+++ b/src/xfce-desktop.c
@@ -752,14 +752,14 @@ screen_set_selection(XfceDesktop *desktop)
     /* the previous check in src/main.c occurs too early, so workaround by
      * adding this one. */
    if(XGetSelectionOwner(gdk_x11_get_default_xdisplay(), selection_atom) != None) {
-       g_warning("%s: already running, quitting.", PACKAGE);
+       g_critical("%s: already running, quitting.", PACKAGE);
        exit(0);
    }
 
     /* Check that _NET_DESKTOP_MANAGER_S%d isn't set, as it means another
      * desktop manager is running, e.g. nautilus */
     if(XGetSelectionOwner (gdk_x11_get_default_xdisplay(), common_selection_atom) != None) {
-        g_warning("%s: another desktop manager is running.", PACKAGE);
+        g_critical("%s: another desktop manager is running.", PACKAGE);
         exit(1);
     }
 

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


More information about the Xfce4-commits mailing list