gmain: Document that set_ready_time() is safe on destroyed GSources

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=778049
This commit is contained in:
Philip Withnall 2017-03-23 15:07:49 +00:00
parent c408256b52
commit 32aae79db5

View File

@ -1809,6 +1809,9 @@ g_source_get_priority (GSource *source)
* for both sources is reached during the same main context iteration
* then the order of dispatch is undefined.
*
* It is a no-op to call this function on a #GSource which has already been
* destroyed with g_source_destroy().
*
* This API is only intended to be used by implementations of #GSource.
* Do not call this API on a #GSource that you did not create.
*