[libgit2-glib] ggit-revert-options.c: Fix return annotations



commit 01a3872e6e9ad81e8e85fed6a22c9efe5bb015a8
Author: Brian C. Lane <bcl redhat com>
Date:   Wed Aug 30 17:42:04 2017 -0700

    ggit-revert-options.c: Fix return annotations
    
    Add (nullable) as needed.

 libgit2-glib/ggit-revert-options.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-revert-options.c b/libgit2-glib/ggit-revert-options.c
index 9559a62..fcaccf6 100644
--- a/libgit2-glib/ggit-revert-options.c
+++ b/libgit2-glib/ggit-revert-options.c
@@ -53,7 +53,7 @@ _ggit_revert_options_get_revert_options (GgitRevertOptions *revert_options)
  *
  * Copies @revert_options into a newly allocated #GgitRevertOptions.
  *
- * Returns: (transfer full): a newly allocated #GgitRevertOptions.
+ * Returns: (transfer full) (nullable): a newly allocated #GgitRevertOptions or %NULL.
  */
 GgitRevertOptions *
 ggit_revert_options_copy (GgitRevertOptions *revert_options)
@@ -99,7 +99,7 @@ ggit_revert_options_free (GgitRevertOptions *revert_options)
  * The @mainline indicates which parent to use for the revert when reverting
  * a merge commit.
  *
- * Returns: (transfer full): a #GgitRevertOptions.
+ * Returns: (transfer full) (nullable): a #GgitRevertOptions or %NULL.
  *
  **/
 GgitRevertOptions *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]