2006-05-18 [colin] 2.2.0cvs33
[claws.git] / src / mimeview.c
index f577c6e4828becac236d7cc4adce2c35f70b656d..811a00a33c2c2f7a374a33f8adfdf158a9ace65f 100644 (file)
@@ -2022,6 +2022,7 @@ static void icon_list_clear (MimeView *mimeview)
        for (; child != NULL; child = g_list_next(child)) {
                gtkut_container_remove(GTK_CONTAINER(mimeview->icon_vbox), 
                                       GTK_WIDGET(child->data));
+               gtk_widget_destroy(GTK_WIDGET(child->data));
        }
        mimeview->icon_count = 0;
        adj  = gtk_layout_get_vadjustment(GTK_LAYOUT(mimeview->icon_scroll));