Mercurial > pidgin.yaz
diff pidgin/gtkblist.c @ 28443:2da9e508a523
Fix the auto-personize stuff. Closes #9948.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 25 Aug 2009 06:16:23 +0000 |
parents | f1a8a28432f4 |
children | 572073acf8e7 |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Tue Aug 25 03:54:33 2009 +0000 +++ b/pidgin/gtkblist.c Tue Aug 25 06:16:23 2009 +0000 @@ -496,15 +496,12 @@ for (tmp = merges; tmp; tmp = tmp->next) { PurpleBlistNode *node = tmp->data; PurpleBlistNode *b; - PurpleBlistNodeType type; int i = 0; - type = purple_blist_node_get_type(node); - - if(type == PURPLE_BLIST_BUDDY_NODE) + if (purple_blist_node_get_type(node) == PURPLE_BLIST_BUDDY_NODE) node = purple_blist_node_get_parent(node); - if(type == PURPLE_BLIST_CONTACT_NODE) + if (purple_blist_node_get_type(node) != PURPLE_BLIST_CONTACT_NODE) continue; for (b = purple_blist_node_get_first_child(node);