diff libpurple/example/nullclient.c @ 18009:9ffa9af32854

Wire in g_timeout_add_seconds for Finch and nullclient as well.
author Richard Laager <rlaager@wiktel.com>
date Sun, 20 May 2007 13:58:37 +0000
parents 4b65a67d23b8
children 58e82c3b697e
line wrap: on
line diff
--- a/libpurple/example/nullclient.c	Sun May 20 13:56:28 2007 +0000
+++ b/libpurple/example/nullclient.c	Sun May 20 13:58:37 2007 +0000
@@ -108,11 +108,15 @@
 	glib_input_add,
 	g_source_remove,
 	NULL,
+#if GLIB_VERSION_CHECK(2,14,0)
+	g_timeout_add_seconds,
+#else
+	NULL,
+#endif
 
 	/* padding */
 	NULL,
 	NULL,
-	NULL,
 	NULL
 };
 /*** End of the eventloop functions. ***/