[gtk/matthiasc/for-master: 5/11] builderscope: Fix finalize <> dispose confusion
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 5/11] builderscope: Fix finalize <> dispose confusion
- Date: Mon, 11 May 2020 12:17:08 +0000 (UTC)
commit 6140dafecf352cb1acf6b7fa78bc28f313434132
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 10 13:29:40 2020 -0400
builderscope: Fix finalize <> dispose confusion
Don't chain up to dispose if you implement finalize.
This fix s courtesy of GOBJECT_DEBUG=objects.
gtk/gtkbuilderscope.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkbuilderscope.c b/gtk/gtkbuilderscope.c
index 64011384c2..21d00c103c 100644
--- a/gtk/gtkbuilderscope.c
+++ b/gtk/gtkbuilderscope.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]