diff options
Diffstat (limited to 'src/ka-gconf.c')
-rw-r--r-- | src/ka-gconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ka-gconf.c b/src/ka-gconf.c index 10ef703..4e3d1aa 100644 --- a/src/ka-gconf.c +++ b/src/ka-gconf.c @@ -202,10 +202,10 @@ ka_gconf_init (KaApplet* applet) ka_gconf_set_tgt_renewable(client, applet); ka_gconf_set_tgt_proxiable(client, applet); out: - if(error) { + if (error) { client = NULL; - g_print ("%s", error->message); - g_error_free (error); + g_warning ("%s", error->message); + g_clear_error (&error); } return client; } |