[Commits] cm_gdata_contacts.c 1.1.2.11 1.1.2.12

holger at claws-mail.org holger at claws-mail.org
Sun Oct 16 13:44:20 CEST 2011


Update of /home/claws-mail/plugins/gdata/src
In directory claws-mail:/tmp/cvs-serv32518/src

Modified Files:
      Tag: gtk2
	cm_gdata_contacts.c 
Log Message:
2011-10-16 [holger]	0.2cvs12

	* src/cm_gdata_contacts.c
		Preserve sort order. Report by Kim B. Heino. 

Index: cm_gdata_contacts.c
===================================================================
RCS file: /home/claws-mail/plugins/gdata/src/Attic/cm_gdata_contacts.c,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -d -r1.1.2.11 -r1.1.2.12
--- cm_gdata_contacts.c	21 Sep 2011 21:40:59 -0000	1.1.2.11
+++ cm_gdata_contacts.c	16 Oct 2011 11:44:18 -0000	1.1.2.12
@@ -195,6 +195,7 @@
     num_contacts++;
   }
   g_object_unref(feed);
+  contacts_cache.contacts = g_slist_reverse(contacts_cache.contacts);
   log_message(LOG_PROTOCOL, _("GData plugin: Added %d of %d contacts to the cache\n"), num_contacts_added, num_contacts);
 }
 
@@ -413,4 +414,6 @@
 
   /* Free XML tree */
   xml_free_tree(rootnode);
+
+  contacts_cache.contacts = g_slist_reverse(contacts_cache.contacts);
 }



More information about the Commits mailing list