evolution r36205 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36205 - branches/mail-dbus-remoting/mail
- Date: Fri, 29 Aug 2008 19:57:23 +0000 (UTC)
Author: sragavan
Date: Fri Aug 29 19:57:23 2008
New Revision: 36205
URL: http://svn.gnome.org/viewvc/evolution?rev=36205&view=rev
Log:
Add debug and disable
Modified:
branches/mail-dbus-remoting/mail/camel-object-remote-impl.c
branches/mail-dbus-remoting/mail/camel-session-remote-impl.c
Modified: branches/mail-dbus-remoting/mail/camel-object-remote-impl.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-object-remote-impl.c (original)
+++ branches/mail-dbus-remoting/mail/camel-object-remote-impl.c Fri Aug 29 19:57:23 2008
@@ -17,7 +17,7 @@
extern GHashTable *store_hash;
extern GHashTable *folder_hash;
extern CamelSession *session;
-
+#define d(x)
/* Session */
static void
object_signal_cb (CamelObject *sess, gpointer ev_data, gpointer data)
@@ -50,7 +50,7 @@
gboolean added = FALSE;
CamelObject *object;
- printf("Handling session/co functions : %s\n", dbus_message_get_sender(message));
+ d(printf("Handling session/co functions : %s\n", dbus_message_get_sender(message)));
return_val = dbus_message_new_method_return (message);
if (strcmp(method, "camel_object_hook_event") == 0) {
Modified: branches/mail-dbus-remoting/mail/camel-session-remote-impl.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-session-remote-impl.c (original)
+++ branches/mail-dbus-remoting/mail/camel-session-remote-impl.c Fri Aug 29 19:57:23 2008
@@ -13,7 +13,7 @@
#include "camel-object-remote-impl.h"
#define CAMEL_SESSION_OBJECT_PATH "/org/gnome/evolution/camel/session"
-
+#define d(x)
static gboolean session_setup = FALSE;
GHashTable *store_hash = NULL;
@@ -37,11 +37,11 @@
CamelStore *store;
char *store_not_found = _("Store not found");
- printf ("MAILDBUS: SESSION D-Bus message: obj_path = '%s' interface = '%s' method = '%s' destination = '%s'\n",
+ d(printf ("MAILDBUS: SESSION D-Bus message: obj_path = '%s' interface = '%s' method = '%s' destination = '%s'\n",
dbus_message_get_path (message),
dbus_message_get_interface (message),
dbus_message_get_member (message),
- dbus_message_get_destination (message));
+ dbus_message_get_destination (message)));
return_val = dbus_message_new_method_return (message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]