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

Some gtk-doc fixes (mostly)

parent e984a9b5
No related branches found
No related tags found
No related merge requests found
...@@ -168,8 +168,8 @@ rugby_score_store_init (RugbyScoreStore *store) ...@@ -168,8 +168,8 @@ rugby_score_store_init (RugbyScoreStore *store)
/** /**
* rugby_score_store_new: * rugby_score_store_new:
* *
* Creates a #RugbyScoreStore. This can be used to update a #GtkTreeView * Creates a #RugbyScoreStore. This can be used to update a #GtkTreeView with
* with possibilities. * possibilities.
* *
* Returns: a new #RugbyScoreStore * Returns: a new #RugbyScoreStore
*/ */
......
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
* rugby_scoring_get_possibilities: * rugby_scoring_get_possibilities:
* @score: the score of a team * @score: the score of a team
* *
* Gets the possibile ways of scoring @score points, as a %GVariant of the * Gets the possibile ways of scoring @score points, as a %GVariant of the
* type "a(iii)", in the order "tries, utries, pens". * type "a(iii)", in the order "tries, utries, pens".
* *
* Returns: the possibilities, or %NULL in the case there are none * Returns: (transfer-none): the possibilities, or %NULL in the case there are
* none
*/ */
GVariant * GVariant *
rugby_scoring_get_possibilities (gint score) rugby_scoring_get_possibilities (gint score)
...@@ -17,7 +18,7 @@ rugby_scoring_get_possibilities (gint score) ...@@ -17,7 +18,7 @@ rugby_scoring_get_possibilities (gint score)
gint max_tries, max_utries; gint max_tries, max_utries;
gint tries, utries; gint tries, utries;
g_return_val_if_fail (score > 0, NULL); g_return_val_if_fail (score >= 0, NULL);
g_variant_builder_init (&builder, G_VARIANT_TYPE_ARRAY); g_variant_builder_init (&builder, G_VARIANT_TYPE_ARRAY);
......
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