Mercurial > pidgin
diff src/aim.c @ 3802:9bcb42faccc0
[gaim-migrate @ 3945]
Rewrote show_im_dialog and show_info_dialog.
Ported to gtkspell2. Gtkspell2 is a library available from
gtkspell.sf.net. It requires the pspell library. If you want the
"highlight misspelled words" feature to work, you must have this
library installed. If installed, configure will detect it and link
against it.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 26 Oct 2002 06:41:13 +0000 |
parents | d85208a99af2 |
children | b7a6aa99ee7c |
line wrap: on
line diff
--- a/src/aim.c Fri Oct 25 11:50:40 2002 +0000 +++ b/src/aim.c Sat Oct 26 06:41:13 2002 +0000 @@ -52,7 +52,6 @@ #include <signal.h> #endif #include "locale.h" -#include "gtkspell.h" #include <getopt.h> #ifdef _WIN32 @@ -396,15 +395,8 @@ #endif abort(); break; - case SIGCHLD: - clean_pid(); -#if HAVE_SIGNAL_H - signal(SIGCHLD, sighandler); /* restore signal catching on this one! */ -#endif - break; default: debug_printf("caught signal %d\n", sig); - gtkspell_stop(); signoff_all(NULL, NULL); #ifdef GAIM_PLUGINS remove_all_plugins(); @@ -799,21 +791,7 @@ if (misc_options & OPT_MISC_DEBUG) show_debug(); -#ifndef _WIN32 - /*If ispell fails to start, try using aspell in ispell compatibitity mode. - Gabber does this the same way -- lorien420@myrealbox.com*/ - if (convo_options & OPT_CONVO_CHECK_SPELLING){ - if (gtkspell_start(NULL, ispell_cmd)<0){ - debug_printf("gtkspell failed to start when using ispell\n"); - if (gtkspell_start(NULL, aspell_cmd)<0){ - debug_printf("gtkspell failed to start when using aspell\n"); - } else - debug_printf("gtkspell started with aspell\n"); - } else { - debug_printf("gtkspell started with ispell\n"); - } - } -#endif + static_proto_init(); /* deal with --login */ @@ -838,10 +816,6 @@ #endif gtk_main(); -#ifndef _WIN32 - if (convo_options & OPT_CONVO_CHECK_SPELLING) - gtkspell_stop(); -#endif core_quit(); /* don't need ui_quit here because ui doesn't create anything */