mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01: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.
|
||||
*
|
||||
* Returns: The accumulator function returns whether the signal emission
|
||||
* should be aborted. Returning %FALSE means to abort the
|
||||
* current emission and %TRUE is returned for continuation.
|
||||
* should be aborted. Returning %TRUE will continue with
|
||||
* 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,
|
||||
GValue *return_accu,
|
||||
|
Loading…
Reference in New Issue
Block a user