From 2e83af7c2184829128448a6b2d19a2eb5ab94145 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Sep 2011 21:24:59 +0200 Subject: io_thread: _timeout_add_seconds() returns GSource* The numeric ID isn't so useful. --- src/io_thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/io_thread.h') diff --git a/src/io_thread.h b/src/io_thread.h index c91597225..d1a203aa3 100644 --- a/src/io_thread.h +++ b/src/io_thread.h @@ -62,7 +62,8 @@ io_thread_inside(void); guint io_thread_idle_add(GSourceFunc function, gpointer data); -guint +G_GNUC_MALLOC +GSource * io_thread_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data); -- cgit v1.2.3