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 a50b314..1309ca1 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 383ac18..82e0832 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 aaa226c..9e032f1 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);