mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +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:
		@@ -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,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user