[nautilus-actions] src/nact/nact-tree-ieditable.c: remove debug messages



commit 082e1ecce8e0209d106b1ff1e0628bd51cdda1fe
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sat Nov 26 23:02:36 2011 +0100

    src/nact/nact-tree-ieditable.c: remove debug messages

 src/nact/nact-tree-ieditable.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/nact/nact-tree-ieditable.c b/src/nact/nact-tree-ieditable.c
index daf5f45..2a06b0c 100644
--- a/src/nact/nact-tree-ieditable.c
+++ b/src/nact/nact-tree-ieditable.c
@@ -743,14 +743,11 @@ nact_tree_ieditable_insert_at_path( NactTreeIEditable *instance, GList *items, G
 		actual_path = do_insert_before( ied, items, insert_path );
 
 		parent = na_object_get_parent( items->data );
-		g_debug( "%s: parent=%p", thisfn, ( void * ) parent );
 		if( parent ){
 			na_object_check_status( parent );
 		} else {
 			for( it = items ; it ; it = it->next ){
-				g_debug( "%s: checking %p", thisfn, ( void * ) it->data );
 				na_object_check_status( it->data );
-				na_object_dump( it->data );
 			}
 			g_signal_emit_by_name( ied->window, TREE_SIGNAL_LEVEL_ZERO_CHANGED, TRUE );
 		}
@@ -863,7 +860,9 @@ do_insert_before( IEditableData *ied, GList *items, GtkTreePath *asked_path )
 		}
 	}
 
+	/* an l-value here is useless, but makes gcc happy */
 	items = g_list_reverse( reversed );
+
 	return( actual_path );
 }
 



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