[libgit2-glib] ggit-commit-parents.c: Fix return annotations
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] ggit-commit-parents.c: Fix return annotations
- Date: Fri, 1 Sep 2017 06:08:42 +0000 (UTC)
commit 38c6f1d87687ec0c8efdb94a859a33da8f7f4c5d
Author: Brian C. Lane <bcl redhat com>
Date: Wed Aug 30 11:29:38 2017 -0700
ggit-commit-parents.c: Fix return annotations
Add (nullable) where needed.
libgit2-glib/ggit-commit-parents.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-commit-parents.c b/libgit2-glib/ggit-commit-parents.c
index 106e724..a8e2f08 100644
--- a/libgit2-glib/ggit-commit-parents.c
+++ b/libgit2-glib/ggit-commit-parents.c
@@ -165,7 +165,7 @@ ggit_commit_parents_get_size (GgitCommitParents *parents)
*
* Get the #GgitCommit of a parent.
*
- * Returns: (transfer full): a #GgitCommit.
+ * Returns: (transfer full) (nullable): a #GgitCommit.
*
**/
GgitCommit *
@@ -194,7 +194,7 @@ ggit_commit_parents_get (GgitCommitParents *parents,
*
* Get the #GgitOId of a parent.
*
- * Returns: (transfer full): a #GgitOId.
+ * Returns: (transfer full) (nullable): a #GgitOId.
*
**/
GgitOId *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]