[libgit2-glib] ggit-diff-format-email-options.c: Fix return annotations



commit 681f29f9959a26179dae06a8d698bc7731286892
Author: Brian C. Lane <bcl redhat com>
Date:   Wed Aug 30 16:29:59 2017 -0700

    ggit-diff-format-email-options.c: Fix return annotations
    
    Add (nullable) as needed.

 libgit2-glib/ggit-diff-format-email-options.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgit2-glib/ggit-diff-format-email-options.c b/libgit2-glib/ggit-diff-format-email-options.c
index 63e3a03..348bd60 100644
--- a/libgit2-glib/ggit-diff-format-email-options.c
+++ b/libgit2-glib/ggit-diff-format-email-options.c
@@ -230,7 +230,7 @@ ggit_diff_format_email_options_init (GgitDiffFormatEmailOptions *options)
  *
  * Create a new checkout options object.
  *
- * Returns: a #GgitDiffFormatEmailOptions.
+ * Returns: (transfer full) (nullable): a #GgitDiffFormatEmailOptions or %NULL.
  *
  **/
 GgitDiffFormatEmailOptions *
@@ -391,7 +391,7 @@ ggit_diff_format_email_options_set_total_patches (GgitDiffFormatEmailOptions *op
  *
  * Get the object id.
  *
- * Returns: (transfer none): a #GgitOId.
+ * Returns: (transfer none) (nullable): a #GgitOId or %NULL.
  *
  **/
 GgitOId *
@@ -446,7 +446,7 @@ ggit_diff_format_email_options_set_id (GgitDiffFormatEmailOptions *options,
  *
  * Get the summary.
  *
- * Returns: the summary.
+ * Returns: (transfer none) (nullable): the summary.
  *
  **/
 const gchar *
@@ -492,7 +492,7 @@ ggit_diff_format_email_options_set_summary (GgitDiffFormatEmailOptions *options,
  *
  * Get the author.
  *
- * Returns: (transfer none): a #GgitSignature.
+ * Returns: (transfer none) (nullable): a #GgitSignature or %NULL.
  *
  **/
 GgitSignature *


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