[evolution/webkit: 120/134] Forgot to disable debug messages in EMailDisplay...
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 120/134] Forgot to disable debug messages in EMailDisplay...
- Date: Wed, 14 Dec 2011 15:41:44 +0000 (UTC)
commit 8f6b4834e2fc5ba447833a1d6a4ec28abfbd4839
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 0cc7a72..793a498 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)
+
struct _EMailDisplayPrivate {
GtkWidget *grid;
@@ -621,8 +623,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);
@@ -694,8 +696,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]