Mercurial > pidgin
changeset 32411:85d75e81e12f
Fix insertion order of search results in Finch.
I fixed the type from the original patch by Howard.
Fixes #14822.
committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author | hyc@symas.com |
---|---|
date | Thu, 22 Dec 2011 23:23:49 +0000 |
parents | f07501af8bae |
children | eb8f424876a5 |
files | finch/gntnotify.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntnotify.c Thu Dec 22 08:39:45 2011 +0000 +++ b/finch/gntnotify.c Thu Dec 22 23:23:49 2011 +0000 @@ -386,6 +386,7 @@ { GntTree *tree = GNT_TREE(data); GList *o; + GntTreeRow *prev = NULL; /* XXX: Do I need to empty the tree here? */ @@ -393,7 +394,8 @@ { 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; } }