evolution-data-server r8988 - branches/camel-db-summary/camel/providers/nntp



Author: psankar
Date: Mon Jun 16 15:50:33 2008
New Revision: 8988
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8988&view=rev

Log:
Adapt and use new APIs


Modified:
   branches/camel-db-summary/camel/providers/nntp/camel-nntp-utils.c

Modified: branches/camel-db-summary/camel/providers/nntp/camel-nntp-utils.c
==============================================================================
--- branches/camel-db-summary/camel/providers/nntp/camel-nntp-utils.c	(original)
+++ branches/camel-db-summary/camel/providers/nntp/camel-nntp-utils.c	Mon Jun 16 15:50:33 2008
@@ -227,16 +227,10 @@
 {
 	char *tmp;
 	char *brk;
-	CamelMessageInfo *minfo;
 	int ret;
 	
-	minfo = camel_folder_summary_index(summary, index);
-	if(minfo == NULL)
-		return 0;
+	tmp = camel_folder_summary_uid_from_index(summary, index);
 
-	tmp = g_strdup(camel_message_info_uid(minfo));
-	camel_message_info_free(minfo);
-	
 	if((brk = strchr(tmp, ',')) == NULL)
 		ret = 0;
 	else {



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