Mercurial > pidgin.yaz
comparison plugins/chkmail.c @ 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 | 5f294f7c4f2e |
children | 1330d0c8b1ff |
comparison
equal
deleted
inserted
replaced
125:bfe26481cff5 | 126:b4cd83f1d0b8 |
---|---|
84 | 84 |
85 while (list) { | 85 while (list) { |
86 w = (GtkWidget *)list->data; | 86 w = (GtkWidget *)list->data; |
87 if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { | 87 if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { |
88 gtk_tree_remove_items(GTK_TREE(buddies), list); | 88 gtk_tree_remove_items(GTK_TREE(buddies), list); |
89 list = GTK_TREE(buddies)->children; | |
89 if (!list) | 90 if (!list) |
90 break; | 91 break; |
91 } | 92 } |
92 list = list->next; | 93 list = list->next; |
93 } | 94 } |
106 | 107 |
107 while (list) { | 108 while (list) { |
108 w = (GtkWidget *)list->data; | 109 w = (GtkWidget *)list->data; |
109 if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { | 110 if (!strcmp(GTK_LABEL(GTK_BIN(w)->child)->label, "Mail Server")) { |
110 gtk_tree_remove_items(GTK_TREE(buddies), list); | 111 gtk_tree_remove_items(GTK_TREE(buddies), list); |
112 list = GTK_TREE(buddies)->children; | |
111 if (!list) | 113 if (!list) |
112 break; | 114 break; |
113 } | 115 } |
114 list = list->next; | 116 list = list->next; |
115 } | 117 } |