Re: [evolution-patches] e-d-s disable debug messages
- From: William Jon McCann <mccannwj pha jhu edu>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] e-d-s disable debug messages
- Date: Mon, 20 Sep 2004 17:18:30 -0400
William Jon McCann wrote:
Disable debug messages in ebook.
Probably want this on both branches...
Jon
Updated patch. Disables more debug messages.
Jon
Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/ChangeLog,v
retrieving revision 1.201
diff -p -u -r1.201 ChangeLog
--- addressbook/ChangeLog 17 Sep 2004 08:25:14 -0000 1.201
+++ addressbook/ChangeLog 20 Sep 2004 21:14:17 -0000
@@ -1,0 +1,6 @@
+2004-09-20 William Jon McCann <mccann jhu edu>
+
+ * libebook/e-book.c (emit_async_open_response)
+ (e_book_response_open):
+ * libebook/e-book-view-listener.c (d): Disable debugging noise.
+
Index: addressbook/libebook/e-book-view-listener.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-book-view-listener.c,v
retrieving revision 1.7
diff -p -u -r1.7 e-book-view-listener.c
--- addressbook/libebook/e-book-view-listener.c 16 Apr 2004 22:34:58 -0000 1.7
+++ addressbook/libebook/e-book-view-listener.c 20 Sep 2004 21:14:17 -0000
@@ -17,7 +17,7 @@
#include "e-contact.h"
#include "e-book-marshal.h"
-#define d(x) x
+#define d(x)
static EBookViewStatus e_book_view_listener_convert_status (GNOME_Evolution_Addressbook_CallStatus status);
Index: addressbook/libebook/e-book.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/addressbook/libebook/e-book.c,v
retrieving revision 1.40
diff -p -u -r1.40 e-book.c
--- addressbook/libebook/e-book.c 9 Sep 2004 18:28:44 -0000 1.40
+++ addressbook/libebook/e-book.c 20 Sep 2004 21:14:17 -0000
@@ -2409,7 +2409,7 @@ emit_async_open_response (gpointer data)
EBookOp *op = data;
EBook *book = op->book;
- printf ("in async_open_response\n");
+ d(printf ("in async_open_response\n"));
g_mutex_lock (book->priv->mutex);
@@ -2443,7 +2443,7 @@ e_book_response_open (EBook *book,
{
EBookOp *op;
- printf ("in e_book_response_open\n");
+ d(printf ("in e_book_response_open\n"));
g_mutex_lock (book->priv->mutex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]