# HG changeset patch # User Eric Warmenhoven # Date 955854873 0 # Node ID b4cd83f1d0b8c7e52a2b0e925228a1467432a0b2 # Parent bfe26481cff587916e458db867c6335aa40d09cf [gaim-migrate @ 136] I think this fixed the segfaults. committer: Tailor Script diff -r bfe26481cff5 -r b4cd83f1d0b8 plugins/chkmail.c --- a/plugins/chkmail.c Sun Apr 16 02:49:09 2000 +0000 +++ b/plugins/chkmail.c Sun Apr 16 03:14:33 2000 +0000 @@ -86,6 +86,7 @@ w = (GtkWidget *)list->data; if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { gtk_tree_remove_items(GTK_TREE(buddies), list); + list = GTK_TREE(buddies)->children; if (!list) break; } @@ -108,6 +109,7 @@ w = (GtkWidget *)list->data; if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { gtk_tree_remove_items(GTK_TREE(buddies), list); + list = GTK_TREE(buddies)->children; if (!list) break; }