[gnome-online-accounts] owncloud: Rename a variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] owncloud: Rename a variable
- Date: Wed, 14 Sep 2016 18:23:34 +0000 (UTC)
commit 21241e65ecbd11f05c01b5eda1a8c57af473f1da
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Sep 14 16:47:35 2016 +0200
owncloud: Rename a variable
This will let us use another GVariantBuilder in one of the subsequent
patches.
https://bugzilla.gnome.org/show_bug.cgi?id=771366
src/goabackend/goaowncloudprovider.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/goabackend/goaowncloudprovider.c b/src/goabackend/goaowncloudprovider.c
index 47f533c..5159fc3 100644
--- a/src/goabackend/goaowncloudprovider.c
+++ b/src/goabackend/goaowncloudprovider.c
@@ -837,7 +837,7 @@ refresh_account (GoaProvider *provider,
GError **error)
{
AddAccountData data;
- GVariantBuilder builder;
+ GVariantBuilder credentials;
GoaAccount *account;
GoaHttpClient *http_client;
GtkWidget *dialog;
@@ -954,12 +954,12 @@ refresh_account (GoaProvider *provider,
}
/* TODO: run in worker thread */
- g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
- g_variant_builder_add (&builder, "{sv}", "password", g_variant_new_string (password));
+ g_variant_builder_init (&credentials, G_VARIANT_TYPE_VARDICT);
+ g_variant_builder_add (&credentials, "{sv}", "password", g_variant_new_string (password));
if (!goa_utils_store_credentials_for_object_sync (provider,
object,
- g_variant_builder_end (&builder),
+ g_variant_builder_end (&credentials),
NULL, /* GCancellable */
&data.error))
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]