From 70e9e37d3ed3aad27fa972d0d304a51bf753b59d Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 26 Apr 2002 21:27:05 +0000 Subject: Don't print out the colors here unless debugging is turned on. 2002-04-26 Christopher James Lahey * e-multi-config-dialog.c (fill_in_pixbufs): Don't print out the colors here unless debugging is turned on. svn path=/trunk/; revision=16605 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-multi-config-dialog.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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 +#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, -- cgit v1.2.3