mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Clarify "current condition" in g_socket_create_source docs
This commit is contained in:
parent
8088182644
commit
6d01593b06
@ -2308,8 +2308,10 @@ winsock_source_new (GSocket *socket,
|
|||||||
* these conditions will always be reported output if they are true.
|
* these conditions will always be reported output if they are true.
|
||||||
*
|
*
|
||||||
* @cancellable if not %NULL can be used to cancel the source, which will
|
* @cancellable if not %NULL can be used to cancel the source, which will
|
||||||
* cause the source to trigger, reporting the current condition. You can
|
* cause the source to trigger, reporting the current condition (which
|
||||||
* check for this in the callback using g_cancellable_is_cancelled().
|
* is likely 0 unless cancellation happened at the same time as a
|
||||||
|
* condition change). You can check for this in the callback using
|
||||||
|
* g_cancellable_is_cancelled().
|
||||||
*
|
*
|
||||||
* Returns: a newly allocated %GSource, free with g_source_unref().
|
* Returns: a newly allocated %GSource, free with g_source_unref().
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user