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:
Sergey Bugaev 2023-10-26 11:01:42 +03:00
parent 150965a9b3
commit a3d02ad565

View File

@ -1952,8 +1952,8 @@ g_source_set_ready_time (GSource *source,
* Gets the "ready time" of @source, as set by
* g_source_set_ready_time().
*
* Any time before the current monotonic time (including 0) is an
* indication that the source will fire immediately.
* Any time before or equal to the current monotonic time (including 0)
* is an indication that the source will fire immediately.
*
* Returns: the monotonic ready time, -1 for "never"
**/