gobjectification: 24bf683d: Fix a few more blist node operations.
qulogic at pidgin.im
qulogic at pidgin.im
Sun Nov 8 03:30:59 EST 2009
-----------------------------------------------------------------
Revision: 24bf683dd574f099989af05d1b8b700dbc9d66e3
Ancestor: ed48a44d501f4372f7ffdec556ca59756ba4b735
Author: qulogic at pidgin.im
Date: 2009-11-08T06:50:59
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/24bf683dd574f099989af05d1b8b700dbc9d66e3
Modified files:
finch/gntblist.c
ChangeLog:
Fix a few more blist node operations.
-------------- next part --------------
============================================================
--- finch/gntblist.c 906d83e7bbec88e7baf6fc85c232afdb222f5d5e
+++ finch/gntblist.c cd5fe16285b55ddc081db533864a360ebce62741
@@ -2003,7 +2003,7 @@ reset_blist_window(GntWidget *window, gp
node = purple_blist_get_root();
while (node) {
reset_blist_node_ui_data(node);
- node = purple_blist_node_next(node, TRUE);
+ node = purple_blist_node_next_online(node, TRUE);
}
if (ggblist->typing)
@@ -2044,7 +2044,7 @@ populate_buddylist(void)
while (node)
{
node_update(node);
- node = purple_blist_node_next(node, FALSE);
+ node = purple_blist_node_next_online(node, FALSE);
}
}
@@ -2143,7 +2143,7 @@ redraw_blist(const char *name, PurplePre
gnt_tree_remove_all(GNT_TREE(ggblist->tree));
node = purple_blist_get_root();
- for (; node; node = purple_blist_node_next(node, TRUE))
+ for (; node; node = purple_blist_node_next_online(node, TRUE))
reset_blist_node_ui_data(node);
populate_buddylist();
gnt_tree_set_selected(GNT_TREE(ggblist->tree), sel);
@@ -2635,7 +2635,7 @@ auto_join_chats(gpointer data)
PurpleAccount *account = purple_connection_get_account(pc);
for (node = purple_blist_get_root(); node;
- node = purple_blist_node_next(node, FALSE)) {
+ node = purple_blist_node_next_online(node, FALSE)) {
if (PURPLE_IS_CHAT(node)) {
PurpleChat *chat = (PurpleChat*)node;
if (purple_chat_get_account(chat) == account &&
More information about the Commits
mailing list