fixed a long standing spell checker bug which could cause a crash after sendinf a...
authorMelvin Hadasht <melvin.hadasht@free.fr>
Wed, 16 Jan 2002 12:40:58 +0000 (12:40 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Wed, 16 Jan 2002 12:40:58 +0000 (12:40 +0000)
ChangeLog.claws
configure.in
src/compose.c

index f4c7f05829e6b34db636d677c787d6e870a06f5e..d05a0a223dd60615bbc33c8d2e30e4d64179f167 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-16 [melvin]    0.7.0claws7
+
+       * src/compose.c
+               fixed a long standingspell checker bug which could 
+               cause a crash after sending a message.
+
 2001-01-16 [paul]      0.7.0claws6
 
        * sync with sylpheed 0.7.0cvs7
index 8a5dc4c73c63f40eba332f0fd4bbf2124ae783ba..5a0e3c16c7e7b91b89a559bdbee614ffc46ca124 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws6
+EXTRA_VERSION=claws7
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index 0d88640a0f63adae94faf304a25db300c34d4070..d2da9c0e317d847a26f2371d2bb63ea8e520c3c2 100644 (file)
@@ -4955,6 +4955,12 @@ static void compose_destroy(Compose *compose)
        if (addressbook_get_target_compose() == compose)
                addressbook_set_target_compose(NULL);
 
+#if USE_PSPELL
+        if (compose->gtkpspell) {
+               gtkpspell_delete(compose->gtkpspell);
+        }
+#endif
+
        prefs_common.compose_width = compose->scrolledwin->allocation.width;
        prefs_common.compose_height = compose->window->allocation.height;
 
@@ -5970,11 +5976,6 @@ static void compose_close_cb(gpointer data, guint action, GtkWidget *widget)
                        return;
                }
        }
-#if USE_PSPELL
-        if (compose->gtkpspell) {
-               gtkpspell_delete(compose->gtkpspell);
-        }
-#endif
        gtk_widget_destroy(compose->window);
 }