+2006-09-21 [colin] 2.4.0cvs202
+
+ * src/compose.c
+ * src/textview.c
+ Workaround possible GTK crash: remove selection
+ clipboard before destroying widget, or GTK+-2.10
+ dies. Thanks to Hiro.
+
2006-09-20 [colin] 2.4.0cvs201
* src/compose.c
( cvs diff -u -r 1.43.2.47 -r 1.43.2.48 src/prefs_matcher.c; cvs diff -u -r 1.395.2.251 -r 1.395.2.252 src/summaryview.c; cvs diff -u -r 1.68.2.26 -r 1.68.2.27 src/summaryview.h; cvs diff -u -r 1.1.4.7 -r 1.1.4.8 src/gtk/logwindow.h; ) > 2.4.0cvs199.patchset
( cvs diff -u -r 1.207.2.121 -r 1.207.2.122 src/folderview.c; cvs diff -u -r 1.395.2.252 -r 1.395.2.253 src/summaryview.c; cvs diff -u -r 1.43.2.51 -r 1.43.2.52 src/toolbar.c; cvs diff -u -r 1.1.4.31 -r 1.1.4.32 src/gtk/gtksctree.c; cvs diff -u -r 1.1.4.7 -r 1.1.4.8 src/gtk/gtksctree.h; ) > 2.4.0cvs200.patchset
( cvs diff -u -r 1.382.2.308 -r 1.382.2.309 src/compose.c; ) > 2.4.0cvs201.patchset
+( cvs diff -u -r 1.382.2.309 -r 1.382.2.310 src/compose.c; cvs diff -u -r 1.96.2.148 -r 1.96.2.149 src/textview.c; ) > 2.4.0cvs202.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=201
+EXTRA_VERSION=202
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
static void compose_destroy(Compose *compose)
{
+ GtkTextBuffer *buffer;
+ GtkClipboard *clipboard;
+
compose_list = g_list_remove(compose_list, compose);
if (compose->updating) {
gtk_widget_destroy(compose->paned);
gtk_widget_destroy(compose->popupmenu);
+ buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(compose->text));
+ clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
+ gtk_text_buffer_remove_selection_clipboard(buffer, clipboard);
+
gtk_widget_destroy(compose->window);
toolbar_destroy(compose->toolbar);
g_free(compose->toolbar);
void textview_destroy(TextView *textview)
{
+ GtkTextBuffer *buffer;
+ GtkClipboard *clipboard;
+
+ buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview->text));
+ clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
+ gtk_text_buffer_remove_selection_clipboard(buffer, clipboard);
+
textview_uri_list_remove_all(textview->uri_list);
textview->uri_list = NULL;