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



commit 0092558113e3eec9bf1ef8b4692766dab1f506b8
Author: Brian C. Lane <bcl redhat com>
Date:   Wed Aug 30 17:24:40 2017 -0700

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

 libgit2-glib/ggit-rebase-options.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-rebase-options.c b/libgit2-glib/ggit-rebase-options.c
index a0ca332..5f2fa71 100644
--- a/libgit2-glib/ggit-rebase-options.c
+++ b/libgit2-glib/ggit-rebase-options.c
@@ -50,7 +50,7 @@ _ggit_rebase_options_get_rebase_options (GgitRebaseOptions *rebase_options)
  *
  * Copies @rebase_options into a newly allocated #GgitRebaseOptions.
  *
- * Returns: (transfer full): a newly allocated #GgitRebaseOptions.
+ * Returns: (transfer full) (nullable): a newly allocated #GgitRebaseOptions or %NULL.
  */
 GgitRebaseOptions *
 ggit_rebase_options_copy (GgitRebaseOptions *rebase_options)
@@ -150,7 +150,7 @@ ggit_rebase_options_set_quiet (GgitRebaseOptions *rebase_options,
  * Gets the the name of the notes reference used to rewrite notes for rebased
  * commits when finishing the rebase or %NULL if not set.
  *
- * Returns: the name of the notes reference or %NULL.
+ * Returns: (transfer none) (nullable): the name of the notes reference or %NULL.
  */
 const gchar *
 ggit_rebase_options_get_rewrite_notes_ref (GgitRebaseOptions *rebase_options)
@@ -189,7 +189,7 @@ ggit_rebase_options_set_rewrite_notes_ref (GgitRebaseOptions *rebase_options,
  *
  * Get the checkout options object or %NULL if not set.
  *
- * Returns: (transfer none): the checkout options or %NULL.
+ * Returns: (transfer none) (nullable): the checkout options or %NULL.
  */
 GgitCheckoutOptions *
 ggit_rebase_options_get_checkout_options (GgitRebaseOptions *rebase_options)


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