mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-07 00:54:51 +01:00
Add full variant to the approximate timeout functiont
The g_timeout_add_seconds() API lacks a _full() counterpart, allowing the setting of a destroy notification function to be invoked when the timeout source is removed. This patch adds g_timeout_add_seconds_full() to the public API and reimplements g_timeout_add_seconds() as a call to g_timeout_add_seconds_full(). svn path=/trunk/; revision=5575
This commit is contained in:
@@ -442,6 +442,7 @@ g_timeout_source_new_seconds
|
||||
g_timeout_add
|
||||
g_timeout_add_full
|
||||
g_timeout_add_seconds
|
||||
g_timeout_add_seconds_full
|
||||
|
||||
<SUBSECTION>
|
||||
g_idle_source_new
|
||||
|
||||
Reference in New Issue
Block a user