Mercurial > pidgin.yaz
diff src/idle.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 | 9587ee01dc5d |
children | dc42b27101c0 |
line wrap: on
line diff
--- a/src/idle.c Sat Jun 14 21:34:31 2003 +0000 +++ b/src/idle.c Sat Jun 14 23:21:02 2003 +0000 @@ -18,31 +18,32 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif -#include <time.h> -#include <stdio.h> -#include <unistd.h> -#include <string.h> +#include "internal.h" #ifdef USE_SCREENSAVER -#ifndef _WIN32 -#include <X11/Xlib.h> -#include <X11/Xutil.h> -#include <X11/extensions/scrnsaver.h> -#include <gdk/gdkx.h> -#else -#include "idletrack.h" -#endif +# ifndef _WIN32 +# include <X11/Xlib.h> +# include <X11/Xutil.h> +# include <X11/extensions/scrnsaver.h> +# include <gdk/gdkx.h> +# else +# include "idletrack.h" +# endif #endif /* USE_SCREENSAVER */ -#include "gaim.h" #include "connection.h" +#include "debug.h" +#include "log.h" #include "multi.h" +#include "prefs.h" #include "prpl.h" -#include "prefs.h" + +#include "ui.h" + +#include "gtkprefs.h" + +/* XXX For the away stuff */ +#include "gaim.h" #define IDLEMARK 600 /* 10 minutes! */