[empathy: 2/3] empathy-import-mc4-accounts: no need to add newlines to DEBUG calls



commit 2d2dee09f6f816b1c7669baad8162b06ba2b1dcb
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Fri Oct 16 22:48:10 2009 +0100

    empathy-import-mc4-accounts: no need to add newlines to DEBUG calls
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 src/empathy-import-mc4-accounts.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 17b7128..efbb6f0 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -227,7 +227,7 @@ _create_account_cb (GObject *source,
       goto out;
     }
 
-  DEBUG ("account created\n");
+  DEBUG ("account created");
   account = empathy_account_settings_get_account (
     EMPATHY_ACCOUNT_SETTINGS (source));
 
@@ -248,7 +248,7 @@ _get_protocol_from_profile (const gchar *profile)
 {
   gint i;
 
-  DEBUG ("profile: %s\n", profile);
+  DEBUG ("profile: %s", profile);
 
   for (i = 0; i < G_N_ELEMENTS (profile_protocol_map); i++)
     if (!tp_strdiff (profile, profile_protocol_map[i].profile))
@@ -394,7 +394,7 @@ import_one_account (const char *path,
 
   if (profile == NULL)
     {
-      DEBUG ("Account is missing a profile entry\n");
+      DEBUG ("Account is missing a profile entry");
       goto failed;
     }
 
@@ -424,7 +424,7 @@ import_one_account (const char *path,
 
   if (entries == NULL)
     {
-      DEBUG ("Failed to get all entries: %s\n", error->message);
+      DEBUG ("Failed to get all entries: %s", error->message);
       g_error_free (error);
       goto failed;
     }
@@ -491,7 +491,7 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers)
 
   if (error != NULL)
     {
-      DEBUG ("Failed to get import_mc4_accounts key: %s\n", error->message);
+      DEBUG ("Failed to get import_mc4_accounts key: %s", error->message);
       g_error_free (error);
       goto out;
     }
@@ -502,13 +502,13 @@ empathy_import_mc4_accounts (EmpathyConnectionManagers *managers)
       goto out;
     }
 
-  DEBUG ("MC 4 accounts are going to be imported\n");
+  DEBUG ("MC 4 accounts are going to be imported");
 
   dirs = gconf_client_all_dirs (client, MC_ACCOUNTS_GCONF_BASE, &error);
 
   if (error != NULL)
     {
-      DEBUG ("Failed to get MC4 account dirs: %s\n",
+      DEBUG ("Failed to get MC4 account dirs: %s",
           error->message);
       g_clear_error (&error);
       g_object_unref (client);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]