[gtksourceview] language: add missing G_PARAM_STATIC_STRINGS's
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] language: add missing G_PARAM_STATIC_STRINGS's
- Date: Mon, 20 Jun 2016 17:32:35 +0000 (UTC)
commit a0350939515088e303934c807df5ffbd73000916
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Jun 20 17:51:45 2016 +0200
language: add missing G_PARAM_STATIC_STRINGS's
gtksourceview/gtksourcelanguage.c | 12 ++++++++----
gtksourceview/gtksourcelanguagemanager.c | 6 ++++--
2 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/gtksourceview/gtksourcelanguage.c b/gtksourceview/gtksourcelanguage.c
index dbb51dd..2497910 100644
--- a/gtksourceview/gtksourcelanguage.c
+++ b/gtksourceview/gtksourcelanguage.c
@@ -228,7 +228,8 @@ gtk_source_language_class_init (GtkSourceLanguageClass *klass)
"Language id",
"Language id",
NULL,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_NAME,
@@ -236,7 +237,8 @@ gtk_source_language_class_init (GtkSourceLanguageClass *klass)
"Language name",
"Language name",
NULL,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_SECTION,
@@ -244,7 +246,8 @@ gtk_source_language_class_init (GtkSourceLanguageClass *klass)
"Language section",
"Language section",
NULL,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_HIDDEN,
@@ -252,7 +255,8 @@ gtk_source_language_class_init (GtkSourceLanguageClass *klass)
"Hidden",
"Whether the language should be hidden from
the user",
FALSE,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
}
static void
diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c
index 6a4e8ef..ca4fd43 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -151,7 +151,8 @@ gtk_source_language_manager_class_init (GtkSourceLanguageManagerClass *klass)
"language specification files (.lang) "
"are located",
G_TYPE_STRV,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE |
+ G_PARAM_STATIC_STRINGS));
g_object_class_install_property (object_class,
PROP_LANGUAGE_IDS,
@@ -159,7 +160,8 @@ gtk_source_language_manager_class_init (GtkSourceLanguageManagerClass *klass)
"Language ids",
"List of the ids of the available languages",
G_TYPE_STRV,
- G_PARAM_READABLE));
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]