fixed bug that could crash Sylpheed when highlighting all misspelled words.
authorMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 4 Aug 2002 12:46:42 +0000 (12:46 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 4 Aug 2002 12:46:42 +0000 (12:46 +0000)
ChangeLog.claws
configure.in
src/gtkspell.c

index a50b314db0c6284bb68fcbe0f56023f00d6f8cea..1309ca122229fe59ec42b10abe7bd75e9ff46285 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-04 [melvin]    0.8.1claws13
+
+       * src/gtkspell.c
+               fixed bug that could crash Sylpheed when highlighting
+               all misspelled words.
+
 2002-08-03 [melvin]    0.8.1claws12
 
        * src/prefs_actions.c
index 383ac18f74c8c6f9e3c71845532cfa0e17ad5746..82e08326a9fd4fce13fe007243b28a5dfb7abd97 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws12
+EXTRA_VERSION=claws13
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index aaa226c2b42917072efe48d0e5d553c263893e73..9e032f149ff0ec7605e5dccf8577bddad1cbe3d2 100644 (file)
@@ -1103,8 +1103,6 @@ void gtkpspell_highlight_all(GtkPspell *gtkpspell)
 
        len = gtk_stext_get_length(gtktext);
 
-       gtk_stext_freeze(gtktext);
-
        origpos = gtk_editable_get_position(GTK_EDITABLE(gtktext));
 
 /*     gtk_editable_set_position(GTK_EDITABLE(gtktext), 0);*/
@@ -1119,7 +1117,6 @@ void gtkpspell_highlight_all(GtkPspell *gtkpspell)
                if (pos > 0)
                        check_at(gtkpspell, pos - 1);
        }
-       gtk_stext_thaw(gtktext);
        gtk_editable_set_position(GTK_EDITABLE(gtktext), origpos);
        gtk_stext_set_point(GTK_STEXT(gtktext), origpos);
        gtk_adjustment_set_value(gtktext->vadj, adj_value);