aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-spell-text-view.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-11-29 19:59:09 +0800
committerMilan Crha <mcrha@redhat.com>2013-11-29 19:59:09 +0800
commite607ae83d43972943b138915fb86b244498e8845 (patch)
treec080cef975bfa4c6724a62636f426f1099b4cdae /e-util/e-spell-text-view.h
parentc12a958aba0bac2b665cc8a5a3cae2f10d16dd71 (diff)
downloadgsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.tar
gsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.tar.gz
gsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.tar.bz2
gsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.tar.lz
gsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.tar.xz
gsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.tar.zst
gsoc2013-evolution-e607ae83d43972943b138915fb86b244498e8845.zip
Bug #329616 - Spell checking for Event/Task/Memo editors
This is based on the work of Jan-Michael Brummer from bug #705338, just a little extended to be reusable across whole evolution.
Diffstat (limited to 'e-util/e-spell-text-view.h')
-rw-r--r--e-util/e-spell-text-view.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/e-util/e-spell-text-view.h b/e-util/e-spell-text-view.h
new file mode 100644
index 0000000000..08d2628c95
--- /dev/null
+++ b/e-util/e-spell-text-view.h
@@ -0,0 +1,36 @@
+/*
+ * e-spell-text-view.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
+#error "Only <e-util/e-util.h> should be included directly."
+#endif
+
+#ifndef E_SPELL_TEXT_VIEW_H
+#define E_SPELL_TEXT_VIEW_H
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+gboolean e_spell_text_view_is_supported (void);
+gboolean e_spell_text_view_attach (GtkTextView *text_view);
+void e_spell_text_view_recheck_all (GtkTextView *text_view);
+
+G_END_DECLS
+
+#endif /* E_SPELL_TEXT_VIEW_H */