[epiphany/wip/bookmarks: 302/315] ephy-bookmark: Use G_PARAM_STATIC_STRINGS for properties
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/bookmarks: 302/315] ephy-bookmark: Use G_PARAM_STATIC_STRINGS for properties
- Date: Tue, 27 Sep 2016 17:39:36 +0000 (UTC)
commit 628bdd6ee4bcda2bcae9df34f92e818d88ad8e91
Author: Iulian Radu <iulian radu67 gmail com>
Date: Tue Sep 27 18:08:33 2016 +0300
ephy-bookmark: Use G_PARAM_STATIC_STRINGS for properties
src/ephy-bookmark.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-bookmark.c b/src/ephy-bookmark.c
index 43596c9..ad33052 100644
--- a/src/ephy-bookmark.c
+++ b/src/ephy-bookmark.c
@@ -127,7 +127,7 @@ ephy_bookmark_class_init (EphyBookmarkClass *klass)
g_param_spec_pointer ("tags",
"Tags",
"The bookmark's tags",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
obj_properties[PROP_TIME_ADDED] =
g_param_spec_int64 ("time-added",
@@ -136,21 +136,21 @@ ephy_bookmark_class_init (EphyBookmarkClass *klass)
0,
G_MAXINT64,
0,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
obj_properties[PROP_TITLE] =
g_param_spec_string ("title",
"Title",
"The bookmark's title",
"Default bookmark title",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
obj_properties[PROP_URL] =
g_param_spec_string ("url",
"URL",
"The bookmark's URL",
"about:overview",
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, LAST_PROP, obj_properties);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]