aboutsummaryrefslogtreecommitdiffstats
path: root/src/io_thread.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-20 21:24:59 +0200
committerMax Kellermann <max@duempel.org>2011-09-20 21:26:30 +0200
commit2e83af7c2184829128448a6b2d19a2eb5ab94145 (patch)
tree581e73693c2aafad674767463b1d8a29ca7cbd1e /src/io_thread.h
parenta3f7947ad2e987aaa06a81fe564871448aeb12d2 (diff)
downloadmpd-2e83af7c2184829128448a6b2d19a2eb5ab94145.tar.gz
mpd-2e83af7c2184829128448a6b2d19a2eb5ab94145.tar.xz
mpd-2e83af7c2184829128448a6b2d19a2eb5ab94145.zip
io_thread: _timeout_add_seconds() returns GSource*
The numeric ID isn't so useful.
Diffstat (limited to 'src/io_thread.h')
-rw-r--r--src/io_thread.h3
1 files changed, 2 insertions, 1 deletions
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);