[gnome-builder] clang: fix property type flags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: fix property type flags
- Date: Sat, 13 Jan 2018 12:48:36 +0000 (UTC)
commit 6c9ca7f499a5b91c3df41ebb17ab6162ec5c7db1
Author: Christian Hergert <chergert redhat com>
Date: Sat Jan 13 04:48:18 2018 -0800
clang: fix property type flags
src/plugins/clang/ide-clang-code-index-entries.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/clang/ide-clang-code-index-entries.c
b/src/plugins/clang/ide-clang-code-index-entries.c
index 3a586796a..cfbbfbcd5 100644
--- a/src/plugins/clang/ide-clang-code-index-entries.c
+++ b/src/plugins/clang/ide-clang-code-index-entries.c
@@ -398,13 +398,13 @@ ide_clang_code_index_entries_class_init (IdeClangCodeIndexEntriesClass *klass)
g_param_spec_pointer ("main-file",
"Main File",
"Name of file from which TU is parsed.",
- (G_PARAM_CONSTRUCT | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
properties [PROP_UNIT] =
g_param_spec_pointer ("unit",
"Unit",
"Translation Unit from which index entries are to be generated",
- (G_PARAM_CONSTRUCT | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, N_PROPS, properties);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]