[gnome-online-accounts/wip/rishi/kerberos-task-data-2: 1/2] kerberos: Rename a variable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/kerberos-task-data-2: 1/2] kerberos: Rename a variable
- Date: Tue, 13 Aug 2019 19:47:08 +0000 (UTC)
commit 85d5b82d845469c9588610f97cb75f692fcab08e
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Aug 13 19:39:29 2019 +0200
kerberos: Rename a variable
https://gitlab.gnome.org/GNOME/gnome-online-accounts/merge_requests/30
src/goabackend/goakerberosprovider.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index 168b77c8..4f572f5a 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -155,22 +155,22 @@ sign_in_identity (GoaKerberosProvider *self,
GAsyncReadyCallback callback,
gpointer user_data)
{
- GTask *operation_result;
+ GTask *task;
- operation_result = g_task_new (self, cancellable, callback, user_data);
- g_task_set_source_tag (operation_result, (gpointer) identifier);
+ task = g_task_new (self, cancellable, callback, user_data);
+ g_task_set_source_tag (task, (gpointer) identifier);
- g_object_set_data (G_OBJECT (operation_result),
+ g_object_set_data (G_OBJECT (task),
"password",
(gpointer)
password);
- g_object_set_data_full (G_OBJECT (operation_result),
+ g_object_set_data_full (G_OBJECT (task),
"preauthentication-source",
g_strdup (preauth_source),
g_free);
- g_task_run_in_thread (operation_result, (GTaskThreadFunc) sign_in_thread);
+ g_task_run_in_thread (task, (GTaskThreadFunc) sign_in_thread);
- g_object_unref (operation_result);
+ g_object_unref (task);
}
static gchar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]