mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 22:59:16 +02:00
Update signal accumulator docs.
Reflect that a FALSE returned from the accumulator will still emit signals in the RUN_CLEANUP state. Fixes #2352
This commit is contained in:
parent
80a938a205
commit
e010624309
@ -87,8 +87,11 @@ typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint,
|
|||||||
* value returned by the last callback.
|
* value returned by the last callback.
|
||||||
*
|
*
|
||||||
* Returns: The accumulator function returns whether the signal emission
|
* Returns: The accumulator function returns whether the signal emission
|
||||||
* should be aborted. Returning %FALSE means to abort the
|
* should be aborted. Returning %TRUE will continue with
|
||||||
* current emission and %TRUE is returned for continuation.
|
* the signal emission. Returning %FALSE will abort the current emission.
|
||||||
|
* Since 2.62, returning %FALSE will skip to the CLEANUP stage. In this case,
|
||||||
|
* emission will occur as normal in the CLEANUP stage and the handler's
|
||||||
|
* return value will be accumulated.
|
||||||
*/
|
*/
|
||||||
typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
|
typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
|
||||||
GValue *return_accu,
|
GValue *return_accu,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user