Skip to content
Snippets Groups Projects
Commit 2f73d0da authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Set property limits to score limit

Theoretically, all score types could be set to 1 point
parent bf313f59
No related branches found
No related tags found
1 merge request!2Gtk4
......@@ -87,15 +87,15 @@ rugby_possibility_class_init (RugbyPossibilityClass *klass)
properties[PROP_TRIES] =
g_param_spec_int ("tries", "Tries", "Converted tries",
0, 28, 0,
0, 200, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
properties[PROP_UTRIES] =
g_param_spec_int ("utries", "Utries", "Unconverted tries",
0, 40, 0,
0, 200, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
properties[PROP_KICKS] =
g_param_spec_int ("kicks", "Kicks", "Penalties and drop goals",
0, 66, 0,
0, 200, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
g_object_class_install_properties (object_class,
......
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