pidgin: 4fb8f4c6: Fix insertion order of search results in...

qulogic at pidgin.im qulogic at pidgin.im
Thu Dec 22 18:25:44 EST 2011


----------------------------------------------------------------------
Revision: 4fb8f4c68fbbb1248aab21b9149875c29b6c9944
Parent:   ce6fb9ba3880c9f5cca543386264c7a4e744a64a
Author:   hyc at symas.com
Date:     12/22/11 18:23:49
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4fb8f4c68fbbb1248aab21b9149875c29b6c9944

Changelog: 

Fix insertion order of search results in Finch.

I fixed the type from the original patch by Howard.

Fixes #14822.

Changes against parent ce6fb9ba3880c9f5cca543386264c7a4e744a64a

  patched  finch/gntnotify.c

-------------- next part --------------
============================================================
--- finch/gntnotify.c	5d749c9bf6941756019c317dfc3c4f69f8a79ab4
+++ finch/gntnotify.c	38bc1d2f4f71f51d03934d6e27cf6c5522492878
@@ -386,6 +386,7 @@ finch_notify_sr_new_rows(PurpleConnectio
 {
 	GntTree *tree = GNT_TREE(data);
 	GList *o;
+	GntTreeRow *prev = NULL;
 
 	/* XXX: Do I need to empty the tree here? */
 
@@ -393,7 +394,8 @@ finch_notify_sr_new_rows(PurpleConnectio
 	{
 		gnt_tree_add_row_after(GNT_TREE(tree), o->data,
 				gnt_tree_create_row_from_list(GNT_TREE(tree), o->data),
-				NULL, NULL);
+				NULL, prev);
+		prev = o->data;
 	}
 }
 


More information about the Commits mailing list