[gnome-builder] project-tree: use dispose instead of finalize
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] project-tree: use dispose instead of finalize
- Date: Tue, 5 Dec 2017 12:51:57 +0000 (UTC)
commit 5a1c988d637a7d379ab3ba854ea186dfffb454df
Author: Christian Hergert <chergert redhat com>
Date: Tue Dec 5 04:36:40 2017 -0800
project-tree: use dispose instead of finalize
src/plugins/project-tree/gb-project-tree-builder.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/project-tree/gb-project-tree-builder.c
b/src/plugins/project-tree/gb-project-tree-builder.c
index 730e100..312ae3a 100644
--- a/src/plugins/project-tree/gb-project-tree-builder.c
+++ b/src/plugins/project-tree/gb-project-tree-builder.c
@@ -630,14 +630,14 @@ gb_project_tree_builder_node_collapsed (DzlTreeBuilder *builder,
}
static void
-gb_project_tree_builder_finalize (GObject *object)
+gb_project_tree_builder_dispose (GObject *object)
{
GbProjectTreeBuilder *self = (GbProjectTreeBuilder *)object;
g_clear_pointer (&self->expanded, g_hash_table_unref);
g_clear_object (&self->settings);
- G_OBJECT_CLASS (gb_project_tree_builder_parent_class)->finalize (object);
+ G_OBJECT_CLASS (gb_project_tree_builder_parent_class)->dispose (object);
}
static void
@@ -646,7 +646,7 @@ gb_project_tree_builder_class_init (GbProjectTreeBuilderClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
DzlTreeBuilderClass *tree_builder_class = DZL_TREE_BUILDER_CLASS (klass);
- object_class->finalize = gb_project_tree_builder_finalize;
+ object_class->dispose = gb_project_tree_builder_dispose;
tree_builder_class->build_node = gb_project_tree_builder_build_node;
tree_builder_class->node_activated = gb_project_tree_builder_node_activated;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]