aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-multi-config-dialog.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 03f0c81fd9..7d46999e2b 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-26 Christopher James Lahey <clahey@ximian.com>
+
+ * e-multi-config-dialog.c (fill_in_pixbufs): Don't print out the
+ colors here unless debugging is turned on.
+
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* e-multi-config-dialog.c (e_multi_config_dialog_add_page):
diff --git a/widgets/misc/e-multi-config-dialog.c b/widgets/misc/e-multi-config-dialog.c
index 1cd0c1339f..7a32609a75 100644
--- a/widgets/misc/e-multi-config-dialog.c
+++ b/widgets/misc/e-multi-config-dialog.c
@@ -36,6 +36,8 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
+#define d(x)
+
#define PARENT_TYPE gnome_dialog_get_type ()
static GnomeDialogClass *parent_class = NULL;
@@ -286,7 +288,7 @@ fill_in_pixbufs (EMultiConfigDialog *dialog, int row)
colors[1] = RGB_COLOR (canvas->style->bg [GTK_STATE_ACTIVE]);
colors[2] = RGB_COLOR (canvas->style->base [GTK_STATE_NORMAL]);
- g_print ("%x %x", colors[1], canvas->style->bg [GTK_STATE_ACTIVE].green);
+ d(g_print ("%x %x", colors[1], canvas->style->bg [GTK_STATE_ACTIVE].green));
for (i = 0; i < 3; i++) {
GdkPixbuf *pixbuf = gdk_pixbuf_composite_color_simple (original,