changeset 18368:743ff8e14b17

Fix warnings and add a call to g_timeout_add_seconds() just because.
author Richard Laager <rlaager@wiktel.com>
date Sat, 30 Jun 2007 18:42:08 +0000
parents 1648cd94dddf
children 73554fed2f1f
files libpurple/tests/check_libpurple.c
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/tests/check_libpurple.c	Sat Jun 30 01:45:21 2007 +0000
+++ b/libpurple/tests/check_libpurple.c	Sat Jun 30 18:42:08 2007 +0000
@@ -20,9 +20,17 @@
 
 static PurpleEventLoopUiOps eventloop_ui_ops = {
 	g_timeout_add,
-	(guint (*)(guint))g_source_remove,
+	g_source_remove,
 	purple_check_input_add,
-	(guint (*)(guint))g_source_remove,
+	g_source_remove,
+	NULL, /* input_get_error */
+#if GLIB_CHECK_VERSION(2,14,0)
+	g_timeout_add_seconds,
+#else
+	NULL,
+#endif
+	NULL,
+	NULL,
 	NULL
 };