mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
binding: Add a default marshaller for the closure API
The g_object_bind_property_with_closures() function should set a marshaller if the two GClosures don't have one already. This simplifies the caller code and avoids duplication. We need to add a new marshaller to the gmarshal.list matching the signature of the GBindingTransformFunc function.
This commit is contained in:
@@ -58,6 +58,7 @@ g_variant_get_gtype G_GNUC_CONST
|
||||
#if IN_HEADER(__G_MARSHAL_H__)
|
||||
#if IN_FILE(__G_SIGNAL_C__)
|
||||
g_cclosure_marshal_BOOLEAN__FLAGS
|
||||
g_cclosure_marshal_BOOLEAN__BOXED_BOXED
|
||||
g_cclosure_marshal_STRING__OBJECT_POINTER
|
||||
g_cclosure_marshal_VOID__BOOLEAN
|
||||
g_cclosure_marshal_VOID__BOXED
|
||||
|
Reference in New Issue
Block a user