summaryrefslogtreecommitdiffstats
path: root/eglib/gmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'eglib/gmain.c')
-rw-r--r--eglib/gmain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c
index 3259a43e..be11056e 100644
--- a/eglib/gmain.c
+++ b/eglib/gmain.c
@@ -614,6 +614,11 @@ guint g_timeout_add(guint interval, GSourceFunc function, gpointer data)
return t->id;
}
+guint g_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)
+{
+ return g_timeout_add(interval, function, data);
+}
+
guint g_idle_add(GSourceFunc function, gpointer data)
{
return g_timeout_add(1, function, data);