add #ifdefs that Melvin forgot in his previous commit
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 30 Dec 2001 17:30:21 +0000 (17:30 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 30 Dec 2001 17:30:21 +0000 (17:30 +0000)
ChangeLog.claws
configure.in
src/prefs_common.c

index 3c3b5ef..58a93e0 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-30 [alfons]    0.6.6claws33
+
+       * src/prefs_common.c
+               add #ifdef USE_PSPELLs that Melvin forgot               
+
 2001-12-30 [melvin]    0.6.6claws32
        
        * src/prefs_common.[ch]
index ccdde88..1710550 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws32
+EXTRA_VERSION=claws33
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index ae504a5..7603b11 100644 (file)
@@ -3047,9 +3047,11 @@ static void quote_color_set_dialog(GtkWidget *widget, gpointer data)
        } else if(g_strcasecmp(type, "TGTFLD") == 0) {
                title = _("Pick color for target folder");
                rgbvalue = prefs_common.tgt_folder_col;
+#if USE_PSPELL         
        } else if(g_strcasecmp(type, "Misspelled word") == 0) {
                title = _("Pick color for misspelled word");
                rgbvalue = prefs_common.misspelled_col;
+#endif         
        } else {   /* Should never be called */
                g_warning("Unrecognized datatype '%s' in quote_color_set_dialog\n", type);
                return;
@@ -3117,9 +3119,11 @@ static void quote_colors_set_dialog_ok(GtkWidget *widget, gpointer data)
                prefs_common.tgt_folder_col = rgbvalue;
                set_button_bg_color(color_buttons.tgt_folder_btn, rgbvalue);
                folderview_set_target_folder_color(prefs_common.tgt_folder_col);
+#if USE_PSPELL         
        } else if (g_strcasecmp(type, "Misspelled word") == 0) {
                prefs_common.misspelled_col = rgbvalue;
                set_button_bg_color(color_buttons.misspelled_btn, rgbvalue);
+#endif         
        } else
                fprintf( stderr, "Unrecognized datatype '%s' in quote_color_set_dialog_ok\n", type );