--- a/loudmouth/lm-misc.c Sat Oct 10 23:17:16 2009 +0200
+++ b/loudmouth/lm-misc.c Sun Oct 11 18:03:48 2009 +0200
@@ -43,9 +43,9 @@
gpointer data)
{
GSource *source;
-
+
g_return_val_if_fail (channel != NULL, 0);
-
+
source = g_io_create_watch (channel, condition);
misc_setup_source (context, source, (GSourceFunc) function, data);
@@ -58,12 +58,12 @@
gpointer data)
{
GSource *source;
-
+
g_return_val_if_fail (function != NULL, 0);
-
+
source = g_idle_source_new ();
misc_setup_source (context, source, function, data);
-
+
return source;
}
@@ -74,12 +74,12 @@
gpointer data)
{
GSource *source;
-
+
g_return_val_if_fail (function != NULL, 0);
-
+
source = g_timeout_source_new (interval);
misc_setup_source (context, source, function, data);
-
+
return source;
}