Mercurial > pidgin
comparison src/gtkidle.h @ 12272:3ef381cdc47e
[gaim-migrate @ 14574]
This should fix idle time reporting for all accounts. Previously it would
only work for one account because I'm dumb.
We're also doing one idleness check every 5 seconds instead of checking
for each account every 20 seconds.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 30 Nov 2005 06:03:49 +0000 |
parents | a72eb0342977 |
children |
comparison
equal
deleted
inserted
replaced
12271:3c6675e1400e | 12272:3ef381cdc47e |
---|---|
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 */ | 24 */ |
25 #ifndef _GAIM_GTK_IDLE_H_ | 25 #ifndef _GAIM_GTK_IDLE_H_ |
26 #define _GAIM_GTK_IDLE_H_ | 26 #define _GAIM_GTK_IDLE_H_ |
27 | 27 |
28 #include "idle.h" | |
29 | |
28 /**************************************************************************/ | 30 /**************************************************************************/ |
29 /** @name GTK+ Idle API */ | 31 /** @name GTK+ Idle API */ |
30 /**************************************************************************/ | 32 /**************************************************************************/ |
31 /*@{*/ | 33 /*@{*/ |
32 | 34 |
33 | |
34 /** | 35 /** |
35 * Initializes the GTK+ idle system. | 36 * Returns the GTK+ idle UI ops. |
37 * | |
38 * @return The UI operations structure. | |
36 */ | 39 */ |
37 void gaim_gtk_idle_init(void); | 40 GaimIdleUiOps *gaim_gtk_idle_get_ui_ops(void); |
38 | |
39 /** | |
40 * Uninitializes the GTK+ idle system. | |
41 */ | |
42 void gaim_gtk_idle_uninit(void); | |
43 | 41 |
44 /*@}*/ | 42 /*@}*/ |
45 | 43 |
46 #endif /* _GAIM_GTK_IDLE_H_ */ | 44 #endif /* _GAIM_GTK_IDLE_H_ */ |