[evolution/webkit: 62/100] Forgot to disable debug messages in EMailDisplay...
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 62/100] Forgot to disable debug messages in EMailDisplay...
- Date: Thu, 5 Jan 2012 16:19:19 +0000 (UTC)
commit 73b579a4ad336dcd37b1ea7b3c3d956e44e84248
Author: Dan VrÃtil <dvratil redhat com>
Date: Fri Nov 25 16:21:40 2011 +0100
Forgot to disable debug messages in EMailDisplay...
mail/e-mail-display.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index eda9450..0c6d672 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -41,6 +41,8 @@
#include <libsoup/soup.h>
#include <libsoup/soup-requester.h>
+#define d(x)
+
#define E_MAIL_DISPLAY_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_MAIL_DISPLAY, EMailDisplayPrivate))
@@ -626,8 +628,8 @@ mail_display_load_normal (EMailDisplay *display,
gboolean expandible = FALSE;
widget = puri->widget_func (emf, puri, NULL);
- fprintf (stderr, "%p: added %s for PURI %s\n",
- display, G_OBJECT_TYPE_NAME (widget), puri->uri);
+ d(printf("%p: added %s for PURI %s\n",
+ display, G_OBJECT_TYPE_NAME (widget), puri->uri));
if (!GTK_IS_WIDGET (widget)) {
g_message ("Part %s didn't provide a valid widget, skipping!", puri->uri);
@@ -699,8 +701,7 @@ mail_display_load_normal (EMailDisplay *display,
attachment_button = NULL;
}
- fprintf (stderr, "%p: added EWebView for PURI %s\n",
- display, puri->uri);
+ d(printf("%p: added EWebView for PURI %s\n", display, puri->uri));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]