diff 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
line wrap: on
line diff
--- a/src/gtkidle.h	Wed Nov 30 06:02:38 2005 +0000
+++ b/src/gtkidle.h	Wed Nov 30 06:03:49 2005 +0000
@@ -25,21 +25,19 @@
 #ifndef _GAIM_GTK_IDLE_H_
 #define _GAIM_GTK_IDLE_H_
 
+#include "idle.h"
+
 /**************************************************************************/
 /** @name GTK+ Idle API                                                  */
 /**************************************************************************/
 /*@{*/
 
-
 /**
- * Initializes the GTK+ idle system.
+ * Returns the GTK+ idle UI ops.
+ *
+ * @return The UI operations structure.
  */
-void gaim_gtk_idle_init(void);
-
-/**
- * Uninitializes the GTK+ idle system.
- */
-void gaim_gtk_idle_uninit(void);
+GaimIdleUiOps *gaim_gtk_idle_get_ui_ops(void);
 
 /*@}*/