2005-10-20 [colin] 1.9.15cvs85
[claws.git] / src / textview.c
index cce2489b75ba5bd32b46d342256ad67639cc3ae5..ef952315c5e66bdb1ff4352917ba86c9c17b990f 100644 (file)
@@ -1121,6 +1121,11 @@ void textview_clear(TextView *textview)
        textview->uri_list = NULL;
 
        textview->body_pos = 0;
+       if (textview->image) 
+               gtk_widget_destroy(textview->image);
+       textview->image = NULL;
+       gtk_text_view_set_border_window_size(text, GTK_TEXT_WINDOW_RIGHT, 
+               0);
 }
 
 void textview_destroy(TextView *textview)