Mercurial > pidgin
comparison src/win32/wspell.c @ 11033:50224ac8184d
[gaim-migrate @ 12919]
Ok, this is debug window filtering. Sadrul was going to do this with a text entry, but I like this better, feel free to disagree with me. It's not the prettiest in a couple places, most notable gtkmain.c where a bunch of categories that don't currently have a home get registered. I added some plugin_(un)load functions to some plugins to place the (un)register functions. Though I didn't do that for the prpls. Comments and cleanups welcome. (Oh, I've been seeing some crashes on quit, but I haven't been able to get it to happen reliably so I'm not sure if it's my code or some transient HEAD oscar/other crash.)
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 28 Jun 2005 06:13:07 +0000 |
parents | da36acb8442c |
children | bb0d7b719af2 |
comparison
equal
deleted
inserted
replaced
11032:31c1c48daba1 | 11033:50224ac8184d |
---|---|
133 } | 133 } |
134 | 134 |
135 void wgaim_gtkspell_init() { | 135 void wgaim_gtkspell_init() { |
136 char *aspell_path = lookup_aspell_path(); | 136 char *aspell_path = lookup_aspell_path(); |
137 | 137 |
138 gaim_debug_register_category("wspell"); | |
139 | |
138 if (aspell_path != NULL) { | 140 if (aspell_path != NULL) { |
139 char *tmp = g_strconcat(aspell_path, "\\aspell-15.dll", NULL); | 141 char *tmp = g_strconcat(aspell_path, "\\aspell-15.dll", NULL); |
140 if (g_file_test(tmp, G_FILE_TEST_EXISTS)) { | 142 if (g_file_test(tmp, G_FILE_TEST_EXISTS)) { |
141 const char *path = g_getenv("PATH"); | 143 const char *path = g_getenv("PATH"); |
142 gaim_debug_info("wspell", "Found Aspell in %s\n", aspell_path); | 144 gaim_debug_info("wspell", "Found Aspell in %s\n", aspell_path); |