[empathy/mc5: 230/483] add some slightly nicer debug messages



commit f54c1834d7a8dc0de0f6f4c1ae60910a38944d05
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Thu Jul 30 19:30:25 2009 +0200

    add some slightly nicer debug messages

 libempathy/empathy-account.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index 5cf4897..4585d33 100644
--- a/libempathy/empathy-account.c
+++ b/libempathy/empathy-account.c
@@ -356,7 +356,8 @@ empathy_account_got_all_cb (TpProxy *proxy,
 
   if (error != NULL)
     {
-      printf ("Unhappy\n");
+      DEBUG ("Failed to get the initial set of account properties: %s",
+        error->message);
       return;
     }
 
@@ -907,7 +908,7 @@ empathy_account_requested_presence_cb (TpProxy *proxy,
   GObject *weak_object)
 {
   if (error)
-    DEBUG (":( : %s", error->message);
+    DEBUG ("Failed to set the requested presence: %s", error->message);
 }
 
 



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