diff src/aim.c @ 1117:f3e0f41beddb

[gaim-migrate @ 1127] Removed the old, crappy spellchecker code; replaced to use gtkspell. works much better. got gtkspell.[ch] out of gtkspell's cvs repository. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 21 Nov 2000 09:50:31 +0000
parents 46ffd2dca607
children a70d5200edde
line wrap: on
line diff
--- a/src/aim.c	Tue Nov 21 01:11:27 2000 +0000
+++ b/src/aim.c	Tue Nov 21 09:50:31 2000 +0000
@@ -53,6 +53,7 @@
 #endif
 #include "locale.h"
 #include "gtkticker.h"
+#include "gtkspell.h"
 #ifndef USE_GNOME
 #include <getopt.h>
 #endif
@@ -101,7 +102,7 @@
 	perl_end();
 #endif
 
-	exit(0);
+	gtk_main_quit();
 #endif /* USE_APPLET */
 }
 
@@ -572,6 +573,7 @@
 	if (general_options & OPT_GEN_DEBUG)
 		show_debug(NULL);
 
+	gtkspell_start(NULL, ispell_cmd);
 #ifdef USE_PERL
 	perl_init();
 	perl_autoload();
@@ -622,6 +624,8 @@
         
 #endif /* USE_APPLET */
         
+	gtkspell_stop();
+
 	return 0;
 	
 }