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



commit 50a9ce90dc7b1810544ee826882e7fc7176f6d89
Author: Brian C. Lane <bcl redhat com>
Date:   Wed Aug 30 17:22:48 2017 -0700

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

 libgit2-glib/ggit-rebase-operation.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-rebase-operation.c b/libgit2-glib/ggit-rebase-operation.c
index 266d489..a8636aa 100644
--- a/libgit2-glib/ggit-rebase-operation.c
+++ b/libgit2-glib/ggit-rebase-operation.c
@@ -58,7 +58,7 @@ _ggit_rebase_operation_get_rebase_operation (GgitRebaseOperation *rebase_operati
  * Atomically increments the reference count of @rebase_operation by one.
  * This function is MT-safe and may be called from any thread.
  *
- * Returns: (transfer none): a newly allocated #GgitRebaseOperation.
+ * Returns: (transfer none) (nullable): a newly allocated #GgitRebaseOperation or %NULL.
  */
 GgitRebaseOperation *
 ggit_rebase_operation_ref (GgitRebaseOperation *rebase_operation)
@@ -111,7 +111,7 @@ ggit_rebase_operation_get_operation_type (GgitRebaseOperation  *rebase_operation
  * Gets the commit ID being cherry-picked. This will be populated for
  * all operations except those of type @GGIT_REBASE_OPERATION_EXEC.
  *
- * Returns: (transfer full): the commit ID being cherry-picked.
+ * Returns: (transfer full) (nullable): the commit ID being cherry-picked or %NULL.
  */
 GgitOId *
 ggit_rebase_operation_get_id (GgitRebaseOperation *rebase_operation)
@@ -128,7 +128,7 @@ ggit_rebase_operation_get_id (GgitRebaseOperation *rebase_operation)
  * Gets the executable the user has requested be run.  This will only
  * be populated for operations of type @GGIT_REBASE_OPERATION_EXEC.
  *
- * Returns: the executable the user has requested be run.
+ * Returns: (transfer none) (nullable): the executable the user has requested be run or %NULL.
  */
 const gchar *
 ggit_rebase_operation_get_exec (GgitRebaseOperation  *rebase_operation)


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