[ekiga] Evolution::Contact: Added better debug output.



commit 3d16bdf31cc5ae963e8b93314ad7a4031ddba4f0
Author: Damien Sandras <dsandras seconix com>
Date:   Sun Oct 4 12:52:44 2015 +0200

    Evolution::Contact: Added better debug output.

 plugins/evolution/evolution-contact.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/evolution/evolution-contact.cpp b/plugins/evolution/evolution-contact.cpp
index b531e2a..fdb553b 100644
--- a/plugins/evolution/evolution-contact.cpp
+++ b/plugins/evolution/evolution-contact.cpp
@@ -87,12 +87,12 @@ Evolution::Contact::Contact (Ekiga::ServiceCore &_services,
 
 Evolution::Contact::~Contact ()
 {
-  if (E_IS_CONTACT (econtact))
-    g_object_unref (econtact);
-
 #if DEBUG
-  std::cout << __FUNCTION__ << " invoked in " << __FILE__ << std::endl << std::flush;
+  std::cout << __FUNCTION__ << " invoked in " << __FILE__ << " for " << get_name () << std::endl << 
std::flush;
 #endif
+
+  if (E_IS_CONTACT (econtact))
+    g_object_unref (econtact);
 }
 
 const std::string


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