| 4437 if (old) { |
4437 if (old) { |
| 4438 children = gtk_container_get_children(GTK_CONTAINER(gtkblist->error_buttons)); |
4438 children = gtk_container_get_children(GTK_CONTAINER(gtkblist->error_buttons)); |
| 4439 l = g_list_find_custom(children, account, (GCompareFunc) find_account_button); |
4439 l = g_list_find_custom(children, account, (GCompareFunc) find_account_button); |
| 4440 if (l) { /* it may have already been removed by being clicked on */ |
4440 if (l) { /* it may have already been removed by being clicked on */ |
| 4441 button = GTK_WIDGET(l->data); |
4441 button = GTK_WIDGET(l->data); |
| 4442 remove_error_button(button); |
4442 remove_error_button(GTK_BUTTON(button)); |
| 4443 } |
4443 } |
| 4444 g_list_free(l); |
4444 g_list_free(l); |
| 4445 l = NULL; |
4445 l = NULL; |
| 4446 } |
4446 } |
| 4447 |
4447 |