[nautilus-actions] base_gtk_utils_table_to_grid(): only tries to dump children in maintainer mode



commit 8a1fc9728196ac002213d77d8c6062d334d7d70c
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Feb 6 21:06:21 2012 +0100

    base_gtk_utils_table_to_grid(): only tries to dump children in maintainer mode

 ChangeLog                 |    5 +++++
 src/nact/base-gtk-utils.c |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3817580..e6b99d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-06 Pierre Wieser <pwieser trychlos org>
+
+	* src/nact/base-gtk-utils.c (base_gtk_utils_table_to_grid):
+	Only tries to dump children in maintainer mode.
+
 2012-02-04 Pierre Wieser <pwieser trychlos org>
 
 	* src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler):
diff --git a/src/nact/base-gtk-utils.c b/src/nact/base-gtk-utils.c
index f7e8600..0ad6156 100644
--- a/src/nact/base-gtk-utils.c
+++ b/src/nact/base-gtk-utils.c
@@ -547,7 +547,10 @@ base_gtk_utils_table_to_grid( BaseWindow *window, const gchar *table_name )
 	g_debug( "%s: table=%p (%s)", thisfn, ( void * ) ttg.table, gtk_buildable_get_name( GTK_BUILDABLE( ttg.table )));
 
 	parent = gtk_widget_get_parent( ttg.table );
+
+#ifdef NA_MAINTAINER_MODE
 	na_gtk_utils_dump_children( GTK_CONTAINER( parent ));
+#endif
 
 	gtk_table_get_size( GTK_TABLE( ttg.table ), &ttg.rows, &ttg.columns );
 
@@ -563,8 +566,10 @@ base_gtk_utils_table_to_grid( BaseWindow *window, const gchar *table_name )
 		g_warning( "%s: untreated parent of class %s", thisfn, G_OBJECT_TYPE_NAME( parent ));
 	}
 
+#ifdef NA_MAINTAINER_MODE
 	na_gtk_utils_dump_children( GTK_CONTAINER( parent ));
 #endif
+#endif
 }
 
 #if GTK_CHECK_VERSION( 3,0,0 )



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