[gnome-online-accounts/wip/dialog-run: 2/5] oauth2: Move recursive mainloop instantion close to where it's run
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/dialog-run: 2/5] oauth2: Move recursive mainloop instantion close to where it's run
- Date: Tue, 23 Apr 2013 15:01:28 +0000 (UTC)
commit 1ac2e9e296d1bad82515a6084a3ea4a2c181ce8e
Author: Emanuele Aina <emanuele aina collabora com>
Date: Tue Apr 23 14:19:10 2013 +0200
oauth2: Move recursive mainloop instantion close to where it's run
https://bugzilla.gnome.org/show_bug.cgi?id=695118
src/goabackend/goaoauth2provider.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index 8ec6368..a4ba81e 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -1293,7 +1293,6 @@ goa_oauth2_provider_add_account (GoaProvider *_provider,
presentation_identity = NULL;
memset (&data, '\0', sizeof (AddData));
- data.loop = g_main_loop_new (NULL, FALSE);
if (!get_tokens_and_identity (provider,
TRUE,
@@ -1349,6 +1348,7 @@ goa_oauth2_provider_add_account (GoaProvider *_provider,
NULL, /* GCancellable* */
(GAsyncReadyCallback) add_account_cb,
&data);
+ data.loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (data.loop);
if (data.error != NULL)
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]