[evolution/webkit: 62/105] 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/105] Forgot to disable debug messages in EMailDisplay...
- Date: Mon, 9 Jan 2012 08:44:57 +0000 (UTC)
commit 4705a1218825f063d1b055b39d0d0d0660c42660
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]