mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
gmain: Correct g_source_get_ready_time () doc
Mention that ready time being equal to the current time means the source will fire immediately. Related to https://gitlab.gnome.org/GNOME/glib/-/issues/3148 Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
@@ -1952,8 +1952,8 @@ g_source_set_ready_time (GSource *source,
|
|||||||
* Gets the "ready time" of @source, as set by
|
* Gets the "ready time" of @source, as set by
|
||||||
* g_source_set_ready_time().
|
* g_source_set_ready_time().
|
||||||
*
|
*
|
||||||
* Any time before the current monotonic time (including 0) is an
|
* Any time before or equal to the current monotonic time (including 0)
|
||||||
* indication that the source will fire immediately.
|
* is an indication that the source will fire immediately.
|
||||||
*
|
*
|
||||||
* Returns: the monotonic ready time, -1 for "never"
|
* Returns: the monotonic ready time, -1 for "never"
|
||||||
**/
|
**/
|
||||||
|
Reference in New Issue
Block a user