Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1116:35476475f794 | 1117:f3e0f41beddb |
|---|---|
| 51 #if HAVE_SIGNAL_H | 51 #if HAVE_SIGNAL_H |
| 52 #include <signal.h> | 52 #include <signal.h> |
| 53 #endif | 53 #endif |
| 54 #include "locale.h" | 54 #include "locale.h" |
| 55 #include "gtkticker.h" | 55 #include "gtkticker.h" |
| 56 #include "gtkspell.h" | |
| 56 #ifndef USE_GNOME | 57 #ifndef USE_GNOME |
| 57 #include <getopt.h> | 58 #include <getopt.h> |
| 58 #endif | 59 #endif |
| 59 | 60 |
| 60 static GtkWidget *name; | 61 static GtkWidget *name; |
| 99 #endif /* GAIM_PLUGINS */ | 100 #endif /* GAIM_PLUGINS */ |
| 100 #ifdef USE_PERL | 101 #ifdef USE_PERL |
| 101 perl_end(); | 102 perl_end(); |
| 102 #endif | 103 #endif |
| 103 | 104 |
| 104 exit(0); | 105 gtk_main_quit(); |
| 105 #endif /* USE_APPLET */ | 106 #endif /* USE_APPLET */ |
| 106 } | 107 } |
| 107 | 108 |
| 108 static int snd_tmout; | 109 static int snd_tmout; |
| 109 int logins_not_muted = 1; | 110 int logins_not_muted = 1; |
| 570 } | 571 } |
| 571 | 572 |
| 572 if (general_options & OPT_GEN_DEBUG) | 573 if (general_options & OPT_GEN_DEBUG) |
| 573 show_debug(NULL); | 574 show_debug(NULL); |
| 574 | 575 |
| 576 gtkspell_start(NULL, ispell_cmd); | |
| 575 #ifdef USE_PERL | 577 #ifdef USE_PERL |
| 576 perl_init(); | 578 perl_init(); |
| 577 perl_autoload(); | 579 perl_autoload(); |
| 578 #endif | 580 #endif |
| 579 static_proto_init(); | 581 static_proto_init(); |
| 620 show_login(); | 622 show_login(); |
| 621 gtk_main(); | 623 gtk_main(); |
| 622 | 624 |
| 623 #endif /* USE_APPLET */ | 625 #endif /* USE_APPLET */ |
| 624 | 626 |
| 627 gtkspell_stop(); | |
| 628 | |
| 625 return 0; | 629 return 0; |
| 626 | 630 |
| 627 } | 631 } |
