[recipes] Build against older gspell
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Build against older gspell
- Date: Thu, 29 Dec 2016 19:19:57 +0000 (UTC)
commit 9d5b5e853f39d52ba0d249fcad344da9021056ef
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 29 14:19:08 2016 -0500
Build against older gspell
The entry support in gspell is brandnew. We can easily avoid using
it if it is not available, and still get spell-checking for all
the text views.
src/gr-edit-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-edit-page.c b/src/gr-edit-page.c
index 05a09b1..b69503d 100644
--- a/src/gr-edit-page.c
+++ b/src/gr-edit-page.c
@@ -1091,7 +1091,7 @@ add_ingredients_segment (GrEditPage *page,
gtk_widget_show (entry);
gtk_entry_set_text (GTK_ENTRY (entry), segment_label[0] ? segment_label : _("Ingredients for …"));
-#ifdef ENABLE_GSPELL
+#if defined(ENABLE_GSPELL) && defined(GSPELL_TYPE_ENTRY)
{
GspellEntry *gspell_entry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]