From 031a0eb636915ec0201fb3dca280e658346d0faa Mon Sep 17 00:00:00 2001 From: Alfons Hoogervorst Date: Sun, 30 Dec 2001 17:30:21 +0000 Subject: [PATCH] add #ifdefs that Melvin forgot in his previous commit --- ChangeLog.claws | 5 +++++ configure.in | 2 +- src/prefs_common.c | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 3c3b5efe9..58a93e0e6 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -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] diff --git a/configure.in b/configure.in index ccdde88a3..1710550a4 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/src/prefs_common.c b/src/prefs_common.c index ae504a52a..7603b11b2 100644 --- a/src/prefs_common.c +++ b/src/prefs_common.c @@ -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 ); -- 2.25.1