diff libpurple/eventloop.h @ 15668:d44fca5248a1

Change out source_remove and input_remove eventloop functions to return booleans instead of guints
author Mark Doliner <mark@kingant.net>
date Tue, 20 Feb 2007 19:36:08 +0000
parents 5fe8042783c1
children 14d85ee22d78
line wrap: on
line diff
--- a/libpurple/eventloop.h	Tue Feb 20 19:35:37 2007 +0000
+++ b/libpurple/eventloop.h	Tue Feb 20 19:36:08 2007 +0000
@@ -57,7 +57,7 @@
 	 * Removes a callback timer.
 	 * @see gaim_timeout_remove, g_source_remove
 	 */
-	guint (*timeout_remove)(guint handle);
+	gboolean (*timeout_remove)(guint handle);
 
 	/**
 	 * Adds an input handler.
@@ -70,7 +70,7 @@
 	 * Removes an input handler.
 	 * @see gaim_input_remove, g_source_remove
 	 */
-	guint (*input_remove)(guint handle);
+	gboolean (*input_remove)(guint handle);
 };
 
 /**************************************************************************/
@@ -97,7 +97,7 @@
  *
  * @return Something.
  */
-guint gaim_timeout_remove(guint handle);
+gboolean gaim_timeout_remove(guint handle);
 
 /**
  * Adds an input handler.
@@ -119,7 +119,7 @@
  * @param handle The handle of the input handler. Note that this is the return
  * value from gaim_input_add, <i>not</i> the file descriptor.
  */
-guint gaim_input_remove(guint handle);
+gboolean gaim_input_remove(guint handle);
 
 /*@}*/