GObject: add g_signal_accumulator_first_wins

Deals with the case where we want exactly one signal handler to run.
This commit is contained in:
Ryan Lortie
2010-10-12 20:58:43 -04:00
parent 0c21689ed8
commit 15d87c2cc4
4 changed files with 40 additions and 0 deletions

View File

@@ -500,6 +500,11 @@ gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint,
const GValue *handler_return,
gpointer dummy);
gboolean g_signal_accumulator_first_wins (GSignalInvocationHint *ihint,
GValue *return_accu,
const GValue *handler_return,
gpointer dummy);
/*< private >*/
void g_signal_handlers_destroy (gpointer instance);
void _g_signals_destroy (GType itype);