Mercurial > pidgin.yaz
comparison gtk/win32/wspell.h @ 14191:009db0b357b5
This is a hand-crafted commit to migrate across subversion revisions
16854:16861, due to some vagaries of the way the original renames were
done. Witness that monotone can do in one revision what svn had to
spread across several.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sat, 16 Dec 2006 04:59:55 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
14190:366be2ce35a7 | 14191:009db0b357b5 |
---|---|
1 /* | |
2 * gaim | |
3 * | |
4 * File: wspell.h | |
5 * | |
6 * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> | |
7 * | |
8 * This program is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 * | |
22 */ | |
23 #ifndef _WSPELL_H_ | |
24 #define _WSPELL_H_ | |
25 #include <gtkspell/gtkspell.h> | |
26 | |
27 void wgaim_gtkspell_init(void); | |
28 | |
29 extern GtkSpell* (*wgaim_gtkspell_new_attach)(GtkTextView*, const gchar*, GError**); | |
30 #define gtkspell_new_attach( view, lang, error ) \ | |
31 wgaim_gtkspell_new_attach( view, lang, error ) | |
32 | |
33 extern GtkSpell* (*wgaim_gtkspell_get_from_text_view)(GtkTextView*); | |
34 #define gtkspell_get_from_text_view( view ) \ | |
35 wgaim_gtkspell_get_from_text_view( view ) | |
36 | |
37 extern void (*wgaim_gtkspell_detach)(GtkSpell*); | |
38 #define gtkspell_detach( spell ) \ | |
39 wgaim_gtkspell_detach( spell ) | |
40 | |
41 extern gboolean (*wgaim_gtkspell_set_language)(GtkSpell*, const gchar*, GError**); | |
42 #define gtkspell_set_language( spell, lang, error ) \ | |
43 wgaim_gtkspell_set_language( spell, lang, error ) | |
44 | |
45 extern void (*wgaim_gtkspell_recheck_all)(GtkSpell*); | |
46 #define gtkspell_recheck_all( spell ) \ | |
47 wgaim_gtkspell_recheck_all( spell ) | |
48 | |
49 #endif /* _WSPELL_H_ */ |