From d087320a5973533171c7d002a91d072ffb517d27 Mon Sep 17 00:00:00 2001
From: Bruce Cowan <bruce@bcowan.me.uk>
Date: Mon, 6 May 2013 00:21:34 +0100
Subject: [PATCH] Some gtk-doc fixes (mostly)

---
 rugby-score-store.c | 4 ++--
 rugby-scoring.c     | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/rugby-score-store.c b/rugby-score-store.c
index 8607522..b0d6671 100644
--- a/rugby-score-store.c
+++ b/rugby-score-store.c
@@ -168,8 +168,8 @@ rugby_score_store_init (RugbyScoreStore *store)
 /**
  * rugby_score_store_new:
  *
- * Creates a #RugbyScoreStore. This can be used to update a #GtkTreeView
- * with possibilities.
+ * Creates a #RugbyScoreStore. This can be used to update a #GtkTreeView with
+ * possibilities.
  *
  * Returns: a new #RugbyScoreStore
  */
diff --git a/rugby-scoring.c b/rugby-scoring.c
index 3dda681..014700a 100644
--- a/rugby-scoring.c
+++ b/rugby-scoring.c
@@ -4,10 +4,11 @@
  * rugby_scoring_get_possibilities:
  * @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".
  *
- * 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 *
 rugby_scoring_get_possibilities (gint score)
@@ -17,7 +18,7 @@ rugby_scoring_get_possibilities (gint score)
 	gint max_tries, max_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);
 
-- 
GitLab