aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/ChangeLog5
-rw-r--r--widgets/menus/gal-view-menus.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 80e49ef174..cc5e787165 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-28 Christopher James Lahey <clahey@ximian.com>
+
+ * menus/gal-view-menus.c (build_menus): Don't print the xml tree
+ here.
+
2001-03-16 Miguel de Icaza <miguel@ximian.com>
* menus/gal-view-menus.c (build_menus): Hook this up under the
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c
index 6dc4633c84..ef0c25a2ee 100644
--- a/widgets/menus/gal-view-menus.c
+++ b/widgets/menus/gal-view-menus.c
@@ -30,6 +30,8 @@ static GtkObjectClass *gvm_parent_class;
static void collection_changed (GalViewCollection *collection,
GalViewMenus *gvm);
+#define d(x)
+
typedef struct {
GalViewCollection *collection;
GalView *view;
@@ -196,7 +198,7 @@ build_menus(GalViewMenus *menus)
bonobo_ui_node_free(root);
- g_print (xml);
+ d(g_print (xml));
return xml;
}