gtkbuilder: wrong usage of gtk_buildable_custom_tag_end
Submitted by Nubosch
Assigned to GtkBuilder maintainers
Link to original bug (#788250)
Description
gtk_buildable_custom_tag_end [1] expects to get called with gpointer* but gets passed data->subparser->data [2] from subparser_end() which is defined as gpointer [3].
fixing this in either direction may break existing users in interesting ways but I would expect the interface definition to be respected.
[1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkbuildable.h#n114
[2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkbuilderparser.c#n846
[3] https://git.gnome.org/browse/gtk+/tree/gtk/gtkbuilderprivate.h#n95
Version: 3.22.x