evolution r36078 - branches/mail-dbus-remoting/mail



Author: sragavan
Date: Tue Aug 26 10:43:39 2008
New Revision: 36078
URL: http://svn.gnome.org/viewvc/evolution?rev=36078&view=rev

Log:
Code clean up to access dbus out of dbind.


Modified:
   branches/mail-dbus-remoting/mail/camel-session-remote.c
   branches/mail-dbus-remoting/mail/dbind.c
   branches/mail-dbus-remoting/mail/dbind.h
   branches/mail-dbus-remoting/mail/mail-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	Tue Aug 26 10:43:39 2008
@@ -27,6 +27,7 @@
 	CAMEL_SESSION_ALERT_ERROR
 } CamelSessionAlertType;
 */
+
 void
 camel_session_remote_construct	(CamelSessionRemote *session,
 			const char *storage_path)

Modified: branches/mail-dbus-remoting/mail/dbind.c
==============================================================================
--- branches/mail-dbus-remoting/mail/dbind.c	(original)
+++ branches/mail-dbus-remoting/mail/dbind.c	Tue Aug 26 10:43:39 2008
@@ -11,9 +11,6 @@
  *        do dynamic padding of structures etc.
  */
 
-struct _DBindContext {
-    DBusConnection *cnx;
-};
 
 DBindContext *
 dbind_create_context (DBusBusType type, DBusError *opt_error)

Modified: branches/mail-dbus-remoting/mail/dbind.h
==============================================================================
--- branches/mail-dbus-remoting/mail/dbind.h	(original)
+++ branches/mail-dbus-remoting/mail/dbind.h	Tue Aug 26 10:43:39 2008
@@ -5,6 +5,10 @@
 #define DBUS_API_SUBJECT_TO_CHANGE
 #include <dbus/dbus.h>
 
+
+struct _DBindContext {
+    DBusConnection *cnx;
+};
 typedef struct _DBindContext DBindContext;
 
 DBindContext *dbind_create_context         (DBusBusType type, DBusError *opt_error);
@@ -36,4 +40,5 @@
                                                const char *arg_types,
                                                va_list     args);
 
+
 #endif /* _DBIND_H_ */

Modified: branches/mail-dbus-remoting/mail/mail-session-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-session-remote.c	(original)
+++ branches/mail-dbus-remoting/mail/mail-session-remote.c	Tue Aug 26 10:43:39 2008
@@ -80,7 +80,7 @@
 			MAIL_SESSION_INTERFACE,
 			"mail_session_set_interactive",
 			&error, 
-			"b", interactive); 
+			"i", interactive); 
 
 	if (!ret) {
 		g_warning ("Error:mail_session_remote_set_interactive : %s\n", error.message);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]