Mercurial > pidgin
diff src/conversation.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 | 52d5fad43950 |
children | 1e4a574bb46d |
line wrap: on
line diff
--- a/src/conversation.c Sat Jun 14 21:34:31 2003 +0000 +++ b/src/conversation.c Sat Jun 14 23:21:02 2003 +0000 @@ -18,26 +18,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <string.h> -#include <stdlib.h> -#include <sys/stat.h> -#include <errno.h> -#include <ctype.h> +#include "internal.h" +#include "blist.h" #include "conversation.h" -#include "gaim.h" -#include "multi.h" -#include "prpl.h" +#include "debug.h" #include "notify.h" #include "prefs.h" - -#ifdef _WIN32 -#include "win32dep.h" -#endif +#include "prpl.h" +#include "util.h" + +/* XXX */ +#include "ui.h" typedef struct { @@ -148,7 +139,7 @@ im = GAIM_IM(c); - gaim_im_set_typing_state(im, NOT_TYPING); + gaim_im_set_typing_state(im, GAIM_NOT_TYPING); gaim_im_update_typing(im); gaim_im_stop_typing_timeout(im); @@ -169,7 +160,7 @@ gaim_im_set_type_again(GAIM_IM(conv), TRUE); /* XXX Somebody add const stuff! */ - serv_send_typing(gc, (char *)name, TYPED); + serv_send_typing(gc, (char *)name, GAIM_TYPED); gaim_debug(GAIM_DEBUG_MISC, "conversation", "typed...\n"); } @@ -962,7 +953,7 @@ if (gaim_conversation_get_type(conv) == GAIM_CONV_IM) { if (gaim_prefs_get_bool("/core/conversations/im/send_typing")) - serv_send_typing(gc, (char *)name, NOT_TYPING); + serv_send_typing(gc, (char *)name, GAIM_NOT_TYPING); if (gc && prpl_info->convo_closed != NULL) prpl_info->convo_closed(gc, (char *)name); @@ -1483,7 +1474,7 @@ if (gaim_conversation_get_type(conv) == GAIM_CONV_IM) { if ((flags & WFLAG_RECV) == WFLAG_RECV) - gaim_im_set_typing_state(GAIM_IM(conv), NOT_TYPING); + gaim_im_set_typing_state(GAIM_IM(conv), GAIM_NOT_TYPING); } if (gaim_window_get_active_conversation(win) != conv) {