Skip to content
Snippets Groups Projects
Verified Commit 6d43f5b8 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Property static strings

parent 88a84aef
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,7 @@ rugby_list_store_class_init (RugbyListStoreClass *klass) ...@@ -195,7 +195,7 @@ rugby_list_store_class_init (RugbyListStoreClass *klass)
properties[PROP_SCORE] = g_param_spec_int ("score", "", "", properties[PROP_SCORE] = g_param_spec_int ("score", "", "",
0, 200, 0, 0, 200, 0,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, g_object_class_install_properties (object_class,
N_PROPS, N_PROPS,
......
...@@ -177,7 +177,7 @@ rugby_possibility_widget_class_init (RugbyPossibilityWidgetClass *klass) ...@@ -177,7 +177,7 @@ rugby_possibility_widget_class_init (RugbyPossibilityWidgetClass *klass)
properties[PROP_POSSIBILITY] = properties[PROP_POSSIBILITY] =
g_param_spec_object ("possibility", "", "", g_param_spec_object ("possibility", "", "",
RUGBY_TYPE_POSSIBILITY, RUGBY_TYPE_POSSIBILITY,
G_PARAM_READWRITE); G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, g_object_class_install_properties (object_class,
N_PROPS, N_PROPS,
......
...@@ -87,15 +87,15 @@ rugby_possibility_class_init (RugbyPossibilityClass *klass) ...@@ -87,15 +87,15 @@ rugby_possibility_class_init (RugbyPossibilityClass *klass)
properties[PROP_TRIES] = properties[PROP_TRIES] =
g_param_spec_int ("tries", "", "", g_param_spec_int ("tries", "", "",
0, 200, 0, 0, 200, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
properties[PROP_UTRIES] = properties[PROP_UTRIES] =
g_param_spec_int ("utries", "", "", g_param_spec_int ("utries", "", "",
0, 200, 0, 0, 200, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
properties[PROP_KICKS] = properties[PROP_KICKS] =
g_param_spec_int ("kicks", "", "", g_param_spec_int ("kicks", "", "",
0, 200, 0, 0, 200, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, g_object_class_install_properties (object_class,
N_PROPS, N_PROPS,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment