[gnome-builder] clang: use dispose instead of finalize
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: use dispose instead of finalize
- Date: Sun, 17 Dec 2017 10:16:00 +0000 (UTC)
commit 787aaf3d4e51141820eb9226b4231a4da9a89a43
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 02:12:33 2017 -0800
clang: use dispose instead of finalize
src/plugins/clang/ide-clang-code-indexer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/clang/ide-clang-code-indexer.c b/src/plugins/clang/ide-clang-code-indexer.c
index 0446115..b3a8a3e 100644
--- a/src/plugins/clang/ide-clang-code-indexer.c
+++ b/src/plugins/clang/ide-clang-code-indexer.c
@@ -220,14 +220,14 @@ ide_clang_code_indexer_generate_key_finish (IdeCodeIndexer *self,
}
static void
-ide_clang_code_indexer_finalize (GObject *object)
+ide_clang_code_indexer_dispose (GObject *object)
{
IdeClangCodeIndexer *self = (IdeClangCodeIndexer *)object;
g_clear_pointer (&self->index, clang_disposeIndex);
g_clear_pointer (&self->build_flags, g_strfreev);
- G_OBJECT_CLASS (ide_clang_code_indexer_parent_class)->finalize (object);
+ G_OBJECT_CLASS (ide_clang_code_indexer_parent_class)->dispose (object);
}
static void
@@ -235,7 +235,7 @@ ide_clang_code_indexer_class_init (IdeClangCodeIndexerClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->finalize = ide_clang_code_indexer_finalize;
+ object_class->dispose = ide_clang_code_indexer_dispose;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]