G-i annotations for transformation functions



Heya,

I'm trying to solve:
https://bugzilla.gnome.org/show_bug.cgi?id=728504

These functions:
https://git.gnome.org/browse/gom/tree/gom/gom-resource.h#n64
create the following warning:
gom/gom-resource.h:77: Warning: Gom: gom_resource_class_set_property_transform: argument to_bytes_func: 
Missing (scope) annotation for callback without GDestroyNotify (valid: call, async)
gom/gom-resource.h:77: Warning: Gom: gom_resource_class_set_property_transform: argument from_bytes_func: 
Missing (scope) annotation for callback without GDestroyNotify (valid: call, async)

Any ideas which annotation to use, or what changes to make to those
functions to make them introspectable?

g_value_register_transform_func(), an equivalent function in GValue, is
marked as skipped.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]