[gnome-builder/wip/gtk4-port] libide/vcs: fix format parameter for params



commit 4f442014787125de1935621f0becd4ec646212fa
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jun 1 00:17:28 2022 -0700

    libide/vcs: fix format parameter for params

 src/libide/vcs/ide-vcs-clone-request.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/vcs/ide-vcs-clone-request.c b/src/libide/vcs/ide-vcs-clone-request.c
index 5e2bc67a8..c134b1a4c 100644
--- a/src/libide/vcs/ide-vcs-clone-request.c
+++ b/src/libide/vcs/ide-vcs-clone-request.c
@@ -637,11 +637,11 @@ ide_vcs_clone_request_clone_async (IdeVcsCloneRequest  *self,
   g_variant_dict_init (&params, NULL);
   if (!ide_str_empty0 (author_name) &&
       !ide_str_equal0 (author_name, g_get_real_name ()))
-    g_variant_dict_insert (&params, "s", "user.name", author_name);
+    g_variant_dict_insert (&params, "user.name", "s", author_name);
   if (!ide_str_empty0 (self->author_email))
-    g_variant_dict_insert (&params, "s", "user.email", self->author_email);
+    g_variant_dict_insert (&params, "user.email", "s", self->author_email);
   if (!ide_str_empty0 (self->branch_name))
-    g_variant_dict_insert (&params, "s", "branch", self->branch_name);
+    g_variant_dict_insert (&params, "branch", "s", self->branch_name);
 
   ide_vcs_cloner_clone_async (self->cloner,
                               uri_str,


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