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 6eaebdcbde7985c44e0ef2ae16dd22d8ec9bca92..d78443fad422735f2b9df2a3924cbb2615407a7d 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
 2003-06-12 [alfons]    0.9.0claws30
 
        * src/compose.c
index 1ff83c254408104f542a1f98f7d61e0313607cf1..46d5ba6dfcab5e526027ad21c45b00416cc893c6 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
 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
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 729469a2b9d754f2ea14bd72bb50fcf2c34389ac..450c915b4c42517b14e9f27a89e1b6a932167e00 100644 (file)
@@ -5081,19 +5081,24 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
                                                  prefs_common.use_alternate,
                                                  GTK_STEXT(text));
                        if (!gtkaspell) {
                                                  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;
 
                                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();
                                }
 
                                        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);
                                }
                                gtkaspell_populate_submenu(gtkaspell, menuitem);
                                menu_set_sensitive(ifactory, "/Spelling", TRUE);
                                }