[libgit2-glib] ggit-blame-options.c: Fix return annotations
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] ggit-blame-options.c: Fix return annotations
- Date: Fri, 1 Sep 2017 06:09:37 +0000 (UTC)
commit e139299cf00cc1c6439c83e6e3627b03dfa35cde
Author: Brian C. Lane <bcl redhat com>
Date: Wed Aug 30 15:34:55 2017 -0700
ggit-blame-options.c: Fix return annotations
Add (nullable) as needed.
libgit2-glib/ggit-blame-options.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-blame-options.c b/libgit2-glib/ggit-blame-options.c
index d351208..f459db7 100644
--- a/libgit2-glib/ggit-blame-options.c
+++ b/libgit2-glib/ggit-blame-options.c
@@ -49,7 +49,7 @@ _ggit_blame_options_get_blame_options (GgitBlameOptions *blame_options)
*
* Copies @blame_options into a newly allocated #GgitBlameOptions.
*
- * Returns: (transfer full): a newly allocated #GgitBlameOptions.
+ * Returns: (transfer full) (nullable): a newly allocated #GgitBlameOptions or %NULL.
*/
GgitBlameOptions *
ggit_blame_options_copy (GgitBlameOptions *blame_options)
@@ -138,7 +138,7 @@ ggit_blame_set_flags (GgitBlameOptions *blame_options,
* Get the id of the newest commit to consider in the blame. The default
* value of %NULL indicates to use HEAD.
*
- * Returns: (transfer full): a #GgitOId or %NULL.
+ * Returns: (transfer full) (nullable): a #GgitOId or %NULL.
*
**/
GgitOId *
@@ -188,7 +188,7 @@ ggit_blame_options_set_newest_commit (GgitBlameOptions *blame_options,
* Get the id of the oldest commit to consider in the blame. Teh default value
* of %NULL indicates to used HEAD.
*
- * Returns: (transfer full): a #GgitOId.
+ * Returns: (transfer full) (nullable): a #GgitOId or %NULL.
*
**/
GgitOId *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]