evolution r36114 - branches/mail-dbus-remoting/mail



Author: sragavan
Date: Wed Aug 27 09:32:15 2008
New Revision: 36114
URL: http://svn.gnome.org/viewvc/evolution?rev=36114&view=rev

Log:
Fix a crash and bus name.


Modified:
   branches/mail-dbus-remoting/mail/camel-object-remote-impl.c
   branches/mail-dbus-remoting/mail/camel-object-remote.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	Wed Aug 27 09:32:15 2008
@@ -42,7 +42,7 @@
 
 	DBusConnection *dbus = e_dbus_connection_get();
 
-	signal = dbus_message_new_method_call (NULL, CAMEL_SESSION_OBJECT_PATH, 
+	signal = dbus_message_new_method_call (CAMEL_DBUS_NAME, CAMEL_SESSION_OBJECT_PATH, 
 					CAMEL_SESSION_INTERFACE, 
 					"session_signal");
 	/* It sucks here to pass the pointer across the object */

Modified: branches/mail-dbus-remoting/mail/camel-object-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-object-remote.c	(original)
+++ branches/mail-dbus-remoting/mail/camel-object-remote.c	Wed Aug 27 09:32:15 2008
@@ -93,7 +93,6 @@
 
 	dbus_error_init (&error);
 	/* Invoke the appropriate dbind call to MailSessionRemoteImpl */
-	hash = hash_data (func, data);
 	ret = dbind_context_method_call (evolution_dbus_peek_context(), 
 			CAMEL_DBUS_NAME,
 			obj_path[object->type],



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