evolution r36159 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36159 - branches/mail-dbus-remoting/mail
- Date: Thu, 28 Aug 2008 11:31:20 +0000 (UTC)
Author: sragavan
Date: Thu Aug 28 11:31:20 2008
New Revision: 36159
URL: http://svn.gnome.org/viewvc/evolution?rev=36159&view=rev
Log:
Init Session remote.
Modified:
branches/mail-dbus-remoting/mail/camel-session-remote.c
Modified: branches/mail-dbus-remoting/mail/camel-session-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-session-remote.c (original)
+++ branches/mail-dbus-remoting/mail/camel-session-remote.c Thu Aug 28 11:31:20 2008
@@ -12,7 +12,7 @@
extern GHashTable *store_hash;
GHashTable *store_rhash = NULL;
#define d(x) x
-
+CamelObjectRemote *rsession = NULL;
const char *session_str = "session";
/*
@@ -51,6 +51,13 @@
return;
}
+ if (!rsession) {
+ rsession = g_new (CamelObjectRemote, 1);
+ rsession->object_id = "session";
+ rsession->type = CAMEL_RO_SESSION;
+ rsession->hooks = NULL;
+ }
+
if (!store_rhash)
store_rhash = g_hash_table_new (g_direct_hash, g_direct_equal);
d(printf("Camel session constructed remotely\n"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]