[libgda/LIBGDA_4.0] Removed internal debug macros



commit a7a073f2bdb4d02faa876388fc4e7dd257259d90
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat Oct 9 17:20:04 2010 +0200

    Removed internal debug macros

 libgda/gda-debug-macros.h       |   17 +----------------
 libgda/gda-transaction-status.c |    2 --
 2 files changed, 1 insertions(+), 18 deletions(-)
---
diff --git a/libgda/gda-debug-macros.h b/libgda/gda-debug-macros.h
index 3a576a2..2a38728 100644
--- a/libgda/gda-debug-macros.h
+++ b/libgda/gda-debug-macros.h
@@ -23,21 +23,6 @@
 #include <glib.h>
 #include <glib-object.h>
 
-#ifdef GDA_DEBUG
-#define D_COL_NOR "\033[0m"
-#define D_COL_H0 "\033[;34;7m"
-#define D_COL_H1 "\033[;36;7m"
-#define D_COL_H2 "\033[;36;4m"
-#define D_COL_OK "\033[;32m"
-#define D_COL_ERR "\033[;31;1m"
-#endif
-
-#ifndef TO_IMPLEMENT
-  #ifdef GDA_DEBUG
-    #define TO_IMPLEMENT g_print (D_COL_ERR "Implementation missing:" D_COL_NOR " %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__)
-  #else
-    #define TO_IMPLEMENT g_print ("Implementation missing: %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__)
-  #endif
-#endif
+#define TO_IMPLEMENT g_print ("Implementation missing: %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__)
 
 #endif
diff --git a/libgda/gda-transaction-status.c b/libgda/gda-transaction-status.c
index 01563f0..c59fd92 100644
--- a/libgda/gda-transaction-status.c
+++ b/libgda/gda-transaction-status.c
@@ -323,8 +323,6 @@ gda_transaction_status_dump (GdaTransactionStatus *tstatus, guint offset)
 	memset (str, ' ', offset);
 	str [offset] = 0;
 
-	g_print ("%s" D_COL_H1 "GdaTransactionStatus: %s (%s, %p)\n" D_COL_NOR, str, tstatus->name ? tstatus->name : "(NONAME)", 
-		 level_str (tstatus->isolation_level), tstatus);
 	for (evlist = tstatus->events; evlist; evlist = evlist->next) {
 		GdaTransactionStatusEvent *ev = (GdaTransactionStatusEvent *) (evlist->data);
 		switch (ev->type) {



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