mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
add API for chaining: g_signal_chain_from_overridden() and
Tue Nov 13 23:18:10 2001 Tim Janik <timj@gtk.org> * gsignal.[hc]: add API for chaining: g_signal_chain_from_overridden() and g_signal_override_class_closure(), implementation yet to come. * gtype.[hc], Makefile.am: provide G_LOG_DOMAIN as compile flag. * gparam.[hc]: s/g_param_get/g_param_spec_get/ for get_nick, get_name and get_blurb, to be consistent with the rest of the g_param_spec_*() functions. * gparamspecs.[hc]: got rid of bogus GClosure paramspec. G_TYPE_CLOSURE is a boxed type already.
This commit is contained in:
@@ -224,6 +224,15 @@ guint g_signal_handlers_disconnect_matched (gpointer instance,
|
||||
gpointer data);
|
||||
|
||||
|
||||
/* --- chaining for language bindings --- */
|
||||
void g_signal_override_class_closure (guint signal_id,
|
||||
GType instance_type,
|
||||
GClosure *class_closure);
|
||||
void g_signal_chain_from_overridden (const GValue *instance_and_params,
|
||||
guint signal_id,
|
||||
GValue *return_value);
|
||||
|
||||
|
||||
/* --- convenience --- */
|
||||
#define g_signal_connect(instance, detailed_signal, c_handler, data) \
|
||||
g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, 0)
|
||||
|
Reference in New Issue
Block a user