| 28 /* |
28 /* |
| 29 * A lot of this code (especially the config code) was taken directly |
29 * A lot of this code (especially the config code) was taken directly |
| 30 * or nearly directly from xchat, version 1.4.2 by Peter Zelezny and others. |
30 * or nearly directly from xchat, version 1.4.2 by Peter Zelezny and others. |
| 31 */ |
31 */ |
| 32 |
32 |
| 33 #include "internal.h" |
|
| 34 #include "pidgin.h" |
|
| 35 |
|
| 36 #include <purple.h> |
|
| 37 |
|
| 38 #include "gtkplugin.h" |
|
| 39 #include "gtkprefs.h" |
|
| 40 #include "gtkutils.h" |
|
| 41 |
|
| 42 #include <stdio.h> |
33 #include <stdio.h> |
| 43 #include <string.h> |
34 #include <string.h> |
| 44 #include <sys/types.h> |
35 #include <sys/types.h> |
| |
36 |
| |
37 #include <glib/gi18n-lib.h> |
| |
38 |
| |
39 #include <purple.h> |
| |
40 |
| |
41 #include <pidgin.h> |
| 45 |
42 |
| 46 #define SPELLCHECK_PLUGIN_ID "gtk-spellcheck" |
43 #define SPELLCHECK_PLUGIN_ID "gtk-spellcheck" |
| 47 #define SPELLCHK_OBJECT_KEY "spellchk" |
44 #define SPELLCHK_OBJECT_KEY "spellchk" |
| 48 |
45 |
| 49 enum { |
46 enum { |