[nautilus-actions] Remove much too verbose na_boxed_instance_xxx() debug messages



commit 27aa778d954053291a81944cd12de614a3b79725
Author: Pierre Wieser <pwieser trychlos org>
Date:   Thu Jul 9 17:08:58 2015 +0200

    Remove much too verbose na_boxed_instance_xxx() debug messages

 src/core/na-boxed.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/core/na-boxed.c b/src/core/na-boxed.c
index 320542f..4a9ea03 100644
--- a/src/core/na-boxed.c
+++ b/src/core/na-boxed.c
@@ -83,9 +83,10 @@ struct _NABoxedPrivate {
        } u;
 };
 
-#define LIST_SEPARATOR                                         ";"
+#define LIST_SEPARATOR                                 ";"
+#define DEBUG                                                  if( 0 ) g_debug
 
-static GObjectClass *st_parent_class   = NULL;
+static GObjectClass *st_parent_class    = NULL;
 
 static GType           register_type( void );
 static void            class_init( NABoxedClass *klass );
@@ -355,7 +356,7 @@ instance_init( GTypeInstance *instance, gpointer klass )
 
        g_return_if_fail( NA_IS_BOXED( instance ));
 
-       g_debug( "%s: instance=%p (%s), klass=%p",
+       DEBUG( "%s: instance=%p (%s), klass=%p",
                        thisfn, ( void * ) instance, G_OBJECT_TYPE_NAME( instance ), ( void * ) klass );
 
        self = NA_BOXED( instance );
@@ -395,7 +396,7 @@ instance_finalize( GObject *object )
 
        g_return_if_fail( NA_IS_BOXED( object ));
 
-       g_debug( "%s: object=%p (%s)", thisfn, ( void * ) object, G_OBJECT_TYPE_NAME( object ));
+       DEBUG( "%s: object=%p (%s)", thisfn, ( void * ) object, G_OBJECT_TYPE_NAME( object ));
 
        self = NA_BOXED( object );
 


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