[Xfce4-commits] <xfce4-panel:master> Clear the error, so it is usable again.
Nick Schermer
noreply at xfce.org
Sat Nov 13 17:12:01 CET 2010
Updating branch refs/heads/master
to 692c1304c347637df039ce8e4ad313b841a25623 (commit)
from bca7ec57974beab5ed00c192bb7b2bfe4a67a780 (commit)
commit 692c1304c347637df039ce8e4ad313b841a25623
Author: Nick Schermer <nick at xfce.org>
Date: Sat Nov 13 17:10:34 2010 +0100
Clear the error, so it is usable again.
panel/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel/main.c b/panel/main.c
index 367d960..a3dc725 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -242,7 +242,7 @@ main (gint argc, gchar **argv)
{
g_printerr ("%s: Failed to connect to session manager: %s\n",
G_LOG_DOMAIN, error->message);
- g_error_free (error);
+ g_clear_error (&error);
}
/* setup signal handlers to properly quit the main loop */
More information about the Xfce4-commits
mailing list