diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-10 09:30:42 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-10 09:30:42 +0000 |
commit | d195614097bfa962cfcd323023fcd5bcec657227 (patch) | |
tree | 500f9a7cb502848a7be50aba61aab50573d695d1 /gtk | |
parent | 7197b85fd6eecf19cf4fc760af5ec52d8d34bbaf (diff) |
Yet another fix in dlg_destroy().
svn path=/trunk/; revision=30916
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/sctp_stat_dlg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/sctp_stat_dlg.c b/gtk/sctp_stat_dlg.c index 4d470ab70f..631e66f4b8 100644 --- a/gtk/sctp_stat_dlg.c +++ b/gtk/sctp_stat_dlg.c @@ -279,13 +279,12 @@ dlg_destroy(void) struct sctp_analyse *child_data; j=n_children; - list=g_list_last(sctp_assocs->children); for (i=0; i<j; i++) { + list=g_list_last(sctp_assocs->children); child_data=(struct sctp_analyse *)list->data; gtk_grab_remove(GTK_WIDGET(child_data->window)); gtk_widget_destroy(GTK_WIDGET(child_data->window)); - list=g_list_previous(list); } g_list_free(sctp_assocs->children); sctp_assocs->children = NULL; |