builderscope: Fix finalize <> dispose confusion

Don't chain up to dispose if you implement finalize.

This fix s courtesy of GOBJECT_DEBUG=objects.
This commit is contained in:
Matthias Clasen 2020-05-10 13:29:40 -04:00
parent 3a5cf61a4d
commit 6140dafecf

View File

@ -387,7 +387,7 @@ gtk_builder_cscope_finalize (GObject *object)
g_clear_pointer (&priv->callbacks, g_hash_table_destroy);
g_clear_pointer (&priv->module, g_module_close);
G_OBJECT_CLASS (gtk_builder_cscope_parent_class)->dispose (object);
G_OBJECT_CLASS (gtk_builder_cscope_parent_class)->finalize (object);
}
static void