[Xfce4-commits] <xfdesktop:master> Fix critical when session manager is not running (bug #6822).
Nick Schermer
noreply at xfce.org
Sat Nov 13 17:08:01 CET 2010
Updating branch refs/heads/master
to 5772901126a8e820c4a846d6c7385c9cc0364637 (commit)
from 22bcf8081c01f922a7b12d9f4e33af77a73019b4 (commit)
commit 5772901126a8e820c4a846d6c7385c9cc0364637
Author: Nick Schermer <nick at xfce.org>
Date: Sat Nov 13 17:06:54 2010 +0100
Fix critical when session manager is not running (bug #6822).
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.c b/src/main.c
index 25cfb40..6187944 100644
--- a/src/main.c
+++ b/src/main.c
@@ -331,7 +331,7 @@ main(int argc, char **argv)
if(!xfce_sm_client_connect(sm_client, &error) && error) {
g_printerr("Failed to connect to session manager: %s\n", error->message);
- g_error_free(error);
+ g_clear_error(&error);
}
gdpy = gdk_display_get_default();
More information about the Xfce4-commits
mailing list