Home | History | Annotate | Download | only in gobject

Lines Matching defs:notifiers

82  * g_closure_invalidate() and invalidation notifiers allow callbacks to be
213 closure->notifiers = NULL;
231 * - closure->notifiers may be reloacted during callback
251 ndata = closure->notifiers + CLOSURE_N_MFUNCS (closure) + n;
266 ndata = closure->notifiers + CLOSURE_N_MFUNCS (closure) + closure->n_fnotifiers + n;
280 ndata = closure->notifiers + offs + i;
289 ndata = closure->notifiers + offs + i;
323 GClosureNotifyData *notifiers;
331 notifiers = closure->notifiers;
332 closure->notifiers = g_renew (GClosureNotifyData, NULL, CLOSURE_N_NOTIFIERS (closure) + 1);
333 if (notifiers)
338 g_memmove (closure->notifiers + 1, notifiers, CLOSURE_N_NOTIFIERS (closure) * sizeof (notifiers[0]));
339 g_free (notifiers);
341 closure->notifiers[0].data = marshal_data;
342 closure->notifiers[0].notify = (GClosureNotify) meta_marshal;
354 * Adds a pair of notifiers which get invoked before and after the
375 closure->notifiers = g_renew (GClosureNotifyData, closure->notifiers, CLOSURE_N_NOTIFIERS (closure) + 2);
377 closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
379 closure->n_inotifiers + 1)] = closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
382 closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
384 closure->n_inotifiers)] = closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
387 closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
388 closure->n_fnotifiers + 1)] = closure->notifiers[CLOSURE_N_MFUNCS (closure) + 0];
390 closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
391 closure->n_fnotifiers)] = closure->notifiers[CLOSURE_N_MFUNCS (closure) + 1];
393 closure->notifiers[(closure->meta_marshal +
395 closure->n_guards + 1)] = closure->notifiers[closure->meta_marshal + closure->n_guards];
397 closure->notifiers[closure->meta_marshal + i].data = pre_marshal_data;
398 closure->notifiers[closure->meta_marshal + i].notify = pre_marshal_notify;
399 closure->notifiers[closure->meta_marshal + i + 1].data = post_marshal_data;
400 closure->notifiers[closure->meta_marshal + i + 1].notify = post_marshal_notify;
412 * notifiers on a single closure are invoked in unspecified order. If
414 * both invalidated and finalized, then the invalidate notifiers will
415 * be run before the finalize notifiers.
428 closure->notifiers = g_renew (GClosureNotifyData, closure->notifiers, CLOSURE_N_NOTIFIERS (closure) + 1);
430 closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
432 closure->n_inotifiers)] = closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
435 closure->notifiers[i].data = notify_data;
436 closure->notifiers[i].notify = notify_func;
448 * notifiers are invoked before finalization notifiers, in an
463 closure->notifiers = g_renew (GClosureNotifyData, closure->notifiers, CLOSURE_N_NOTIFIERS (closure) + 1);
465 closure->notifiers[i].data = notify_data;
466 closure->notifiers[i].notify = notify_func;
477 nlast = closure->notifiers + CLOSURE_N_NOTIFIERS (closure) - 1;
497 nlast = closure->notifiers + CLOSURE_N_NOTIFIERS (closure) - closure->n_inotifiers - 1;
505 closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
506 closure->n_fnotifiers)] = closure->notifiers[(CLOSURE_N_MFUNCS (closure) +
544 * ignored. Also, invalidation notifiers installed on the closure will
546 * reference to the closure yourself, the invalidation notifiers may
596 g_free (closure->notifiers);
677 * Notice that notifiers are automatically removed after they are run.
705 * Notice that notifiers are automatically removed after they are run.
757 marshal_data = closure->notifiers[0].data;
758 marshal = (GClosureMarshal) closure->notifiers[0].notify;