[libgit2-glib] Move out argument to last argument
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Move out argument to last argument
- Date: Sat, 23 Nov 2013 09:58:31 +0000 (UTC)
commit a0ff8b780b29ab25cb4d8e962ac4976c5f105fbb
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Nov 23 10:58:22 2013 +0100
Move out argument to last argument
libgit2-glib/ggit-remote-callbacks.c | 4 ++--
libgit2-glib/ggit-remote-callbacks.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-remote-callbacks.c b/libgit2-glib/ggit-remote-callbacks.c
index 46fb3bb..2202469 100644
--- a/libgit2-glib/ggit-remote-callbacks.c
+++ b/libgit2-glib/ggit-remote-callbacks.c
@@ -33,10 +33,10 @@ struct _GgitRemoteCallbacksPrivate
/**
* GgitRemoteCallbacksClass::credentials:
* @callbacks:
- * @cred: (out):
* @url:
* @username_from_url:
* @allowed_types:
+ * @cred: (out):
* @error:
*
* Returns:
@@ -145,10 +145,10 @@ credentials_wrap (git_cred **cred,
GError *error = NULL;
if (GGIT_REMOTE_CALLBACKS_GET_CLASS (self)->credentials (self,
- &mcred,
url,
username_from_url,
allowed_types,
+ &mcred,
&error))
{
if (mcred != NULL)
diff --git a/libgit2-glib/ggit-remote-callbacks.h b/libgit2-glib/ggit-remote-callbacks.h
index a09e5b3..90d86ad 100644
--- a/libgit2-glib/ggit-remote-callbacks.h
+++ b/libgit2-glib/ggit-remote-callbacks.h
@@ -62,10 +62,10 @@ struct _GgitRemoteCallbacksClass
GError **error);
gboolean (*credentials) (GgitRemoteCallbacks *callbacks,
- GgitCred **cred,
const gchar *url,
const gchar *username_from_url,
guint allowed_types,
+ GgitCred **cred,
GError **error);
gboolean (*transfer_progress) (GgitRemoteCallbacks *callbacks,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]