aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 01:52:17 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 06:18:48 +0800
commit3cdcb21a13d11a2026d242c242704b0581a7b475 (patch)
tree79210f1b90124e580170de951723b95beb067275
parent9d3432812718541748315d119b22960c190a2ffd (diff)
downloadgsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.tar
gsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.tar.gz
gsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.tar.bz2
gsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.tar.lz
gsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.tar.xz
gsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.tar.zst
gsoc2013-empathy-3cdcb21a13d11a2026d242c242704b0581a7b475.zip
Fix debug strings, don't unref the gconf client twice
-rw-r--r--src/empathy-import-mc4-accounts.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 27dd94956..312b5a2fc 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -402,14 +402,13 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers)
if (error != NULL)
{
DEBUG ("Failed to get import_mc4_accounts key: %s\n", error->message);
- g_clear_error (&error);
- g_object_unref (client);
+ g_error_free (error);
goto out;
}
if (imported_mc4_accounts)
{
- DEBUG ("Mc4 accounts already imported");
+ DEBUG ("Mc4 accounts previously imported");
goto out;
}
@@ -419,7 +418,7 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers)
if (error != NULL)
{
- DEBUG ("Failed to get mc_accounts_gconf_base dirs: %s\n",
+ DEBUG ("Failed to get MC4 account dirs: %s\n",
error->message);
g_clear_error (&error);
g_object_unref (client);