From b80c668f0829ae704b62cc89dfb538c2df9ec677 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 10 Jun 2008 00:23:21 +0000 Subject: Add g_timeout_add_seconds to eglib --- eglib/gmain.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'eglib/gmain.c') 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); -- cgit