compose.c: updated to take into account the changes in GtkAspell
authorMelvin Hadasht <melvin.hadasht@free.fr>
Thu, 12 Jun 2003 10:51:30 +0000 (10:51 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Thu, 12 Jun 2003 10:51:30 +0000 (10:51 +0000)
ChangeLog.claws
configure.ac
src/compose.c

index 6eaebdc..d78443f 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-12 [melvin]    0.9.0claws31
+
+       * src/compose.c
+               Updated to take into accounts changes in GtkAspell.
+
 2003-06-12 [alfons]    0.9.0claws30
 
        * src/compose.c
index 1ff83c2..46d5ba6 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws30
+EXTRA_VERSION=claws31
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 729469a..450c915 100644 (file)
@@ -5081,19 +5081,24 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
                                                  prefs_common.use_alternate,
                                                  GTK_STEXT(text));
                        if (!gtkaspell) {
-                               alertpanel_error(_("Spell checker could not be started.\n%s"), gtkaspellcheckers->error_message);
+                               alertpanel_error(_("Spell checker could not "
+                                               "be started.\n%s"),
+                                               gtkaspell_checkers_strerror());
                                gtkaspell_checkers_reset_error();
                        } else {
 
                                GtkWidget *menuitem;
 
-                               if (!gtkaspell_set_sug_mode(gtkaspell, prefs_common.aspell_sugmode)) {
-                                       debug_print("Aspell: could not set suggestion mode %s\n",
-                                       gtkaspellcheckers->error_message);
+                               if (!gtkaspell_set_sug_mode(gtkaspell,
+                                               prefs_common.aspell_sugmode)) {
+                                       debug_print("Aspell: could not set "
+                                                   "suggestion mode %s\n",
+                                                   gtkaspell_checkers_strerror());
                                        gtkaspell_checkers_reset_error();
                                }
 
-                               menuitem = gtk_item_factory_get_item(ifactory, "/Spelling/Spelling Configuration");
+                               menuitem = gtk_item_factory_get_item(ifactory,
+                                       "/Spelling/Spelling Configuration");
                                gtkaspell_populate_submenu(gtkaspell, menuitem);
                                menu_set_sensitive(ifactory, "/Spelling", TRUE);
                                }