/usr/include/gtkspell-2.0/gtkspell/gtkspell.h is in libgtkspell-dev 2.0.16-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /* gtkspell - a spell-checking addon for GTK's TextView widget
* Copyright (c) 2002 Evan Martin.
*/
/* vim: set ts=4 sw=4 wm=5 : */
#ifndef GTKSPELL_H
#define GTKSPELL_H
G_BEGIN_DECLS
#define GTKSPELL_ERROR gtkspell_error_quark()
typedef enum {
GTKSPELL_ERROR_BACKEND
} GtkSpellError;
GQuark gtkspell_error_quark(void);
typedef struct _GtkSpell GtkSpell;
/* the idea is to have a GtkSpell object that is analagous to the
* GtkTextBuffer-- it lives as an attribute of the GtkTextView but
* it can be referred to directly. */
GtkSpell* gtkspell_new_attach(GtkTextView *view,
const gchar *lang, GError **error);
GtkSpell* gtkspell_get_from_text_view(GtkTextView *view);
void gtkspell_detach(GtkSpell *spell);
/* enable an application to create its own context-menu with a
* spell-correction sub-menu */
GtkWidget* gtkspell_get_suggestions_menu(GtkSpell *spell, GtkTextIter *iter);
gboolean gtkspell_set_language(GtkSpell *spell,
const gchar *lang, GError **error);
void gtkspell_recheck_all(GtkSpell *spell);
/*** old API-- deprecated. ***/
#ifndef GTKSPELL_DISABLE_DEPRECATED
#define GTKSPELL_ERROR_PSPELL GTKSPELL_ERROR_BACKEND
int gtkspell_init(void);
/* no-op. */
void gtkspell_attach(GtkTextView *view);
/* gtkspell_new_attach(view, NULL, NULL); */
#endif /* GTKSPELL_DISABLE_DEPRECATED */
G_END_DECLS
#endif /* GTKSPELL_H */
|