Mercurial > pidgin.yaz
diff src/server.c @ 5872:059d95c67cda
[gaim-migrate @ 6304]
The legendary Header File Cleanup! Files now only include what they need.
This should reduce the number of files that must recompile when a header
file changes. It's a lot nicer. Trust me on it. I also added a couple new
header files. I hope I didn't break TOO much!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 14 Jun 2003 23:21:02 +0000 |
parents | dbed8c87f750 |
children | b3c412884a22 |
line wrap: on
line diff
--- a/src/server.c Sat Jun 14 21:34:31 2003 +0000 +++ b/src/server.c Sat Jun 14 23:21:02 2003 +0000 @@ -18,27 +18,26 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ +#include "internal.h" +#include "conversation.h" +#include "debug.h" +#include "log.h" +#include "multi.h" +#include "notify.h" +#include "pounce.h" +#include "prefs.h" +#include "prpl.h" +#include "request.h" +#include "server.h" +#include "sound.h" +#include "util.h" -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif -#include <time.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/time.h> -#include <unistd.h> -#include <errno.h> +/* XXX UI Stuff */ +#include "gaim.h" #include "gtkimhtml.h" -#include "prpl.h" -#include "multi.h" -#include "gaim.h" -#include "sound.h" -#include "pounce.h" -#include "notify.h" -#include "prefs.h" +#include "gtkconv.h" +#include "gtkutils.h" +#include "ui.h" void serv_login(GaimAccount *account) { @@ -1193,7 +1192,7 @@ } void serv_got_typing(GaimConnection *gc, const char *name, int timeout, - int state) { + GaimTypingState state) { struct buddy *b; GaimConversation *cnv = gaim_find_conversation(name); @@ -1230,11 +1229,11 @@ im = GAIM_IM(c); - if (im->typing_state == NOT_TYPING) + if (im->typing_state == GAIM_NOT_TYPING) return; gaim_im_stop_typing_timeout(im); - gaim_im_set_typing_state(im, NOT_TYPING); + gaim_im_set_typing_state(im, GAIM_NOT_TYPING); gaim_im_update_typing(im); b = gaim_find_buddy(gc->account, name);