Mercurial > pidgin.yaz
annotate pidgin/win32/wspell.c @ 31572:95c33536ac16
ChangeLog and credit where due. Refs #13131.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sun, 09 Jan 2011 20:10:05 +0000 |
parents | 274e691dd5f4 |
children |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 /* |
15871
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15823
diff
changeset
|
2 * pidgin |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 * File: wspell.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 * Date: March, 2003 |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
6 * Description: Windows Pidgin gtkspell interface. |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 * This program is free software; you can redistribute it and/or modify |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 * it under the terms of the GNU General Public License as published by |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 * the Free Software Foundation; either version 2 of the License, or |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 * (at your option) any later version. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 * This program is distributed in the hope that it will be useful, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 * GNU General Public License for more details. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 * You should have received a copy of the GNU General Public License |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 * along with this program; if not, write to the Free Software |
19680
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
17021
diff
changeset
|
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
23 * |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 */ |
30985
274e691dd5f4
config.h is needed to determine USE_GTKSPELL here.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
30984
diff
changeset
|
25 |
274e691dd5f4
config.h is needed to determine USE_GTKSPELL here.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
30984
diff
changeset
|
26 #ifdef HAVE_CONFIG_H |
274e691dd5f4
config.h is needed to determine USE_GTKSPELL here.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
30984
diff
changeset
|
27 #include <config.h> |
274e691dd5f4
config.h is needed to determine USE_GTKSPELL here.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
30984
diff
changeset
|
28 #endif |
30984
7f79ac13965c
Make the win32 build possible to compile without GtkSpell if HAVE_GTKSPELL isn't defined.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
30900
diff
changeset
|
29 #ifdef USE_GTKSPELL |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 #include <windows.h> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 #include <string.h> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 #include <stdlib.h> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
33 #include <glib.h> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
34 #include <gtk/gtk.h> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
35 #include <gtkspell/gtkspell.h> |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
36 #include "debug.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
37 #include "win32dep.h" |
15638
026f9c6cc942
winpidgin warning fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15501
diff
changeset
|
38 #include "wspell.h" |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
40 /* Intermediate function so that we can eat Enchant error popups when it doesn't find a DLL |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
41 * This is fixed upstream, but not released */ |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
42 GtkSpell* (*wpidginspell_new_attach_proxy) (GtkTextView *, |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
43 const gchar *, |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
44 GError **) = NULL; |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
45 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 /* GTKSPELL DUMMY FUNCS */ |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
47 static GtkSpell* wgtkspell_new_attach(GtkTextView *view, const gchar *lang, GError **error) { |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
48 GtkSpell *ret = NULL; |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
49 if (wpidginspell_new_attach_proxy) { |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
50 UINT old_error_mode = SetErrorMode(SEM_FAILCRITICALERRORS); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
51 ret = wpidginspell_new_attach_proxy(view, lang, error); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
52 SetErrorMode(old_error_mode); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
53 } |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
54 return ret; |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
55 } |
15638
026f9c6cc942
winpidgin warning fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15501
diff
changeset
|
56 static GtkSpell* wgtkspell_get_from_text_view(GtkTextView *view) {return NULL;} |
026f9c6cc942
winpidgin warning fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15501
diff
changeset
|
57 static void wgtkspell_detach(GtkSpell *spell) {} |
026f9c6cc942
winpidgin warning fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15501
diff
changeset
|
58 static gboolean wgtkspell_set_language(GtkSpell *spell, const gchar *lang, GError **error) {return FALSE;} |
026f9c6cc942
winpidgin warning fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15501
diff
changeset
|
59 static void wgtkspell_recheck_all(GtkSpell *spell) {} |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
61 /* GTKSPELL PROTOS */ |
15501
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15374
diff
changeset
|
62 GtkSpell* (*wpidginspell_new_attach) (GtkTextView *, |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
63 const gchar *, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
64 GError **) = wgtkspell_new_attach; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
65 |
15501
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15374
diff
changeset
|
66 GtkSpell* (*wpidginspell_get_from_text_view) (GtkTextView*) = wgtkspell_get_from_text_view; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
67 |
15501
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15374
diff
changeset
|
68 void (*wpidginspell_detach) (GtkSpell*) = wgtkspell_detach; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
69 |
15501
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15374
diff
changeset
|
70 gboolean (*wpidginspell_set_language) (GtkSpell*, |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
71 const gchar*, |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
72 GError**) = wgtkspell_set_language; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
73 |
15501
d75099d2567e
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@gmail.com>
parents:
15374
diff
changeset
|
74 void (*wpidginspell_recheck_all) (GtkSpell*) = wgtkspell_recheck_all; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
75 |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
76 #define GTKSPELL_DLL "libgtkspell-0.dll" |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
77 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 static void load_gtkspell() { |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
79 UINT old_error_mode = SetErrorMode(SEM_FAILCRITICALERRORS); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
80 gchar *tmp, *tmp2; |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
81 |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
82 const char *path = g_getenv("PATH"); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
83 tmp = g_build_filename(wpurple_install_dir(), "spellcheck", NULL); |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
84 tmp2 = g_strdup_printf("%s%s%s", tmp, |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
85 (path ? G_SEARCHPATH_SEPARATOR_S : ""), |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
86 (path ? path : "")); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
87 g_free(tmp); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
88 g_setenv("PATH", tmp2, TRUE); |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
89 g_free(tmp2); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
90 |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
91 tmp = g_build_filename(wpurple_install_dir(), "spellcheck", GTKSPELL_DLL, NULL); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
92 /* Suppress error popups */ |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
93 wpidginspell_new_attach_proxy = (void*) wpurple_find_and_loadproc(tmp, "gtkspell_new_attach" ); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
94 if (wpidginspell_new_attach_proxy) { |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
95 wpidginspell_get_from_text_view = (void*) wpurple_find_and_loadproc(tmp, "gtkspell_get_from_text_view"); |
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
96 wpidginspell_detach = (void*) wpurple_find_and_loadproc(tmp, "gtkspell_detach"); |
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
97 wpidginspell_set_language = (void*) wpurple_find_and_loadproc(tmp, "gtkspell_set_language"); |
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
98 wpidginspell_recheck_all = (void*) wpurple_find_and_loadproc(tmp, "gtkspell_recheck_all"); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
99 } else { |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
100 purple_debug_warning("wspell", "Couldn't load gtkspell (%s) \n", tmp); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
101 /*wpidginspell_new_attach = wgtkspell_new_attach;*/ |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
102 } |
30900
3d045343e04d
Use some fully qualified dll locations.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29998
diff
changeset
|
103 g_free(tmp); |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
104 SetErrorMode(old_error_mode); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
105 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 |
29922
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
107 void winpidgin_spell_init() { |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
108 load_gtkspell(); |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19680
diff
changeset
|
109 } |
30984
7f79ac13965c
Make the win32 build possible to compile without GtkSpell if HAVE_GTKSPELL isn't defined.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
30900
diff
changeset
|
110 #endif |