evolution r36076 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36076 - branches/mail-dbus-remoting/mail
- Date: Tue, 26 Aug 2008 10:43:00 +0000 (UTC)
Author: sragavan
Date: Tue Aug 26 10:42:59 2008
New Revision: 36076
URL: http://svn.gnome.org/viewvc/evolution?rev=36076&view=rev
Log:
Make it possible to get dbus out of it.
Modified:
branches/mail-dbus-remoting/mail/mail-dbus.c
branches/mail-dbus-remoting/mail/mail-dbus.h
Modified: branches/mail-dbus-remoting/mail/mail-dbus.c
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-dbus.c (original)
+++ branches/mail-dbus-remoting/mail/mail-dbus.c Tue Aug 26 10:42:59 2008
@@ -6,6 +6,7 @@
#include <stdio.h>
#include "mail-dbus.h"
#include "mail-session-remote-impl.h"
+#include "camel-object-remote-impl.h"
#define d(x) x
#define DBUS_BUS_NAME "org.gnome.evolution.camel"
@@ -29,7 +30,7 @@
return address;
}
-static DBusConnection *
+DBusConnection *
e_dbus_connection_get ()
{
DBusError error;
@@ -192,6 +193,7 @@
/* Initialize Mail Session */
mail_session_remote_impl_init ();
+ camel_object_remote_impl_init ();
return FALSE;
}
Modified: branches/mail-dbus-remoting/mail/mail-dbus.h
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-dbus.h (original)
+++ branches/mail-dbus-remoting/mail/mail-dbus.h Tue Aug 26 10:42:59 2008
@@ -17,5 +17,5 @@
char * e_dbus_get_store_hash (const char *store_url);
char * e_dbus_get_folder_hash (const char *store_url, const char *folder_name);
-
+DBusConnection * e_dbus_connection_get (void);
int mail_dbus_init(void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]