[libgit2-glib] ggit-fetch-options.c: Fix return annotations
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] ggit-fetch-options.c: Fix return annotations
- Date: Fri, 1 Sep 2017 06:10:48 +0000 (UTC)
commit 79099463ede956da257967d3634cd35fd207347d
Author: Brian C. Lane <bcl redhat com>
Date: Wed Aug 30 16:41:31 2017 -0700
ggit-fetch-options.c: Fix return annotations
Add (nullable) as needed.
libgit2-glib/ggit-fetch-options.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-fetch-options.c b/libgit2-glib/ggit-fetch-options.c
index 5fae1b2..1702aba 100644
--- a/libgit2-glib/ggit-fetch-options.c
+++ b/libgit2-glib/ggit-fetch-options.c
@@ -53,7 +53,7 @@ _ggit_fetch_options_get_fetch_options (GgitFetchOptions *fetch_options)
*
* Copies @fetch_options into a newly allocated #GgitFetchOptions.
*
- * Returns: (transfer full): a newly allocated #GgitFetchOptions.
+ * Returns: (transfer full) (nullable): a newly allocated #GgitFetchOptions or %NULL.
*/
GgitFetchOptions *
ggit_fetch_options_copy (GgitFetchOptions *fetch_options)
@@ -123,7 +123,7 @@ ggit_fetch_options_new (void)
*
* Get the remote callbacks object or %NULL if not set.
*
- * Returns: (transfer none): the remote callbacks or %NULL.
+ * Returns: (transfer none) (nullable): the remote callbacks or %NULL.
*/
GgitRemoteCallbacks *
ggit_fetch_options_get_remote_callbacks (GgitFetchOptions *options)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]