[Xfce4-commits] <xfce4-settings:master> Clear the error, so it is usable again.
Nick Schermer
noreply at xfce.org
Sat Nov 13 17:12:02 CET 2010
Updating branch refs/heads/master
to fe1a4ffa0b090d8c052240489bd5c5e54053b74f (commit)
from ac9c60de60e7b00e0ba872dfa4e9c7776a4ba464 (commit)
commit fe1a4ffa0b090d8c052240489bd5c5e54053b74f
Author: Nick Schermer <nick at xfce.org>
Date: Sat Nov 13 17:11:22 2010 +0100
Clear the error, so it is usable again.
xfce4-settings-helper/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xfce4-settings-helper/main.c b/xfce4-settings-helper/main.c
index d257aa5..cf2fe22 100644
--- a/xfce4-settings-helper/main.c
+++ b/xfce4-settings-helper/main.c
@@ -212,7 +212,7 @@ main (gint argc, gchar **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);
}
/* if this instance is started from a saved session, disable autostart so
More information about the Xfce4-commits
mailing list