evolution r36145 - branches/mail-dbus-remoting/mail



Author: psankar
Date: Thu Aug 28 07:59:24 2008
New Revision: 36145
URL: http://svn.gnome.org/viewvc/evolution?rev=36145&view=rev

Log:
Adjust mail-ops to use camelobjectremote


Modified:
   branches/mail-dbus-remoting/mail/mail-ops.c

Modified: branches/mail-dbus-remoting/mail/mail-ops.c
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-ops.c	(original)
+++ branches/mail-dbus-remoting/mail/mail-ops.c	Thu Aug 28 07:59:24 2008
@@ -241,10 +241,14 @@
 static char *
 uid_cachename_hack (CamelObjectRemote *store)
 {
-	CamelURL *url = CAMEL_SERVICE (store)->url;
+	CamelURL *url;
+	char * store_url;
 	char *encoded_url, *filename;
 	const char *evolution_dir;
 
+	store_url = camel_store_get_url_remote (store);
+	url = camel_url_new (store_url, NULL);
+
 	encoded_url = g_strdup_printf ("%s%s%s %s", url->user,
 				       url->authmech ? ";auth=" : "",
 				       url->authmech ? url->authmech : "",



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