Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
5871:508adf90fbb9 | 5872:059d95c67cda |
---|---|
16 * You should have received a copy of the GNU General Public License | 16 * You should have received a copy of the GNU General Public License |
17 * along with this program; if not, write to the Free Software | 17 * along with this program; if not, write to the Free Software |
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 #include "internal.h" |
22 #ifdef HAVE_CONFIG_H | |
23 #include <config.h> | |
24 #endif | |
25 #include <time.h> | |
26 #include <stdio.h> | |
27 #include <unistd.h> | |
28 #include <string.h> | |
29 | 22 |
30 #ifdef USE_SCREENSAVER | 23 #ifdef USE_SCREENSAVER |
31 #ifndef _WIN32 | 24 # ifndef _WIN32 |
32 #include <X11/Xlib.h> | 25 # include <X11/Xlib.h> |
33 #include <X11/Xutil.h> | 26 # include <X11/Xutil.h> |
34 #include <X11/extensions/scrnsaver.h> | 27 # include <X11/extensions/scrnsaver.h> |
35 #include <gdk/gdkx.h> | 28 # include <gdk/gdkx.h> |
36 #else | 29 # else |
37 #include "idletrack.h" | 30 # include "idletrack.h" |
38 #endif | 31 # endif |
39 #endif /* USE_SCREENSAVER */ | 32 #endif /* USE_SCREENSAVER */ |
40 | 33 |
34 #include "connection.h" | |
35 #include "debug.h" | |
36 #include "log.h" | |
37 #include "multi.h" | |
38 #include "prefs.h" | |
39 #include "prpl.h" | |
40 | |
41 #include "ui.h" | |
42 | |
43 #include "gtkprefs.h" | |
44 | |
45 /* XXX For the away stuff */ | |
41 #include "gaim.h" | 46 #include "gaim.h" |
42 #include "connection.h" | |
43 #include "multi.h" | |
44 #include "prpl.h" | |
45 #include "prefs.h" | |
46 | 47 |
47 #define IDLEMARK 600 /* 10 minutes! */ | 48 #define IDLEMARK 600 /* 10 minutes! */ |
48 | 49 |
49 gint check_idle(gpointer data) | 50 gint check_idle(gpointer data) |
50 { | 51 { |