changeset 126:b4cd83f1d0b8

[gaim-migrate @ 136] I think this fixed the segfaults. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 16 Apr 2000 03:14:33 +0000
parents bfe26481cff5
children 1330d0c8b1ff
files plugins/chkmail.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		}