| 4369 gaim_signal_emit(handle, "gtkblist-created", list); |
4369 gaim_signal_emit(handle, "gtkblist-created", list); |
| 4370 } |
4370 } |
| 4371 |
4371 |
| 4372 static void redo_buddy_list(GaimBuddyList *list, gboolean remove, gboolean rerender) |
4372 static void redo_buddy_list(GaimBuddyList *list, gboolean remove, gboolean rerender) |
| 4373 { |
4373 { |
| |
4374 GaimBlistNode *node; |
| |
4375 |
| 4374 gtkblist = GAIM_GTK_BLIST(list); |
4376 gtkblist = GAIM_GTK_BLIST(list); |
| 4375 if(!gtkblist || !gtkblist->treeview) |
4377 if(!gtkblist || !gtkblist->treeview) |
| 4376 return; |
4378 return; |
| 4377 |
4379 |
| 4378 GaimBlistNode *node = list->root; |
4380 node = list->root; |
| 4379 |
4381 |
| 4380 while (node) |
4382 while (node) |
| 4381 { |
4383 { |
| 4382 /* This is only needed when we're reverting to a non-GTK+ sorted |
4384 /* This is only needed when we're reverting to a non-GTK+ sorted |
| 4383 * status. We shouldn't need to remove otherwise. |
4385 * status. We shouldn't need to remove otherwise. |