i have a custom widget with
gtk_widget_class_set_layout_manager_type(widget_class, GTK_TYPE_CONSTRAINT_LAYOUT);
in class_init
i add children and constraints dynamically
how i supposed to dispose the widget?
currently i just unparent
each child, but i’m getting g_ref_count_dec: assertion 'rrc < 0' failed
error, and that error appears before dispose
is invoked
as far as i understand the reason for that are constraints, because the error disappears if i don’t add them
gtk4, c