static void app_menu_item_finalize (GObject *object) { G_OBJECT_CLASS (app_menu_item_parent_class)->finalize (object); .... }
I think this call to parent's finalize should be at the end of the function, not the beginning.
static void item_finalize (GObject *object)
G_OBJECT_ CLASS (app_menu_ item_parent_ class)- >finalize (object);
app_menu_
{
....
}
I think this call to parent's finalize should be at the end of the function, not the beginning.