[Xfce4-commits] <xfce4-panel:master> Make this warning a non-abrting error for startxfce4.
Nick Schermer
noreply at xfce.org
Mon Jul 26 20:44:01 CEST 2010
Updating branch refs/heads/master
to e2d4d108db54af970a8c3911d6847680e5da24b5 (commit)
from 8ad45c48b1cb8840dec926adbe945c9dab6dc35a (commit)
commit e2d4d108db54af970a8c3911d6847680e5da24b5
Author: Nick Schermer <nick at xfce.org>
Date: Mon Jul 26 20:41:29 2010 +0200
Make this warning a non-abrting error for startxfce4.
If the panel aborts here startxfce4 doesn't work if Xfce is
started without xfce4-session installed.
panel/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/panel/main.c b/panel/main.c
index cfab9d9..a2aace2 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -237,7 +237,8 @@ main (gint argc, gchar **argv)
G_CALLBACK (signal_handler_quit), NULL);
if (!xfce_sm_client_connect (sm_client, &error))
{
- g_warning ("Failed to connect to session manager: %s", error->message);
+ g_printerr ("%s: Failed to connect to session manager: %s\n",
+ G_LOG_DOMAIN, error->message);
g_error_free (error);
}
More information about the Xfce4-commits
mailing list