[libgit2-glib] remote: allow none for the custom headers



commit 541c8983303644ad6ba7bb82a4c164ae01ba8cf5
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Mar 15 00:04:35 2016 +0100

    remote: allow none for the custom headers

 libgit2-glib/ggit-remote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-remote.c b/libgit2-glib/ggit-remote.c
index 2bd5d76..bc98af9 100644
--- a/libgit2-glib/ggit-remote.c
+++ b/libgit2-glib/ggit-remote.c
@@ -294,7 +294,7 @@ ggit_remote_get_url (GgitRemote *remote)
  * @remote: a #GgitRemote.
  * @direction: whether you want to receive or send data.
  * @callbacks: the callbacks to use for this connection.
- * @custom_headers: extra HTTP headers to use in this connection.
+ * @custom_headers: (allow-none): extra HTTP headers to use in this connection.
  * @error: a #GError for error reporting, or %NULL.
  *
  * Opens a connection to a remote.


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