[gnome-online-accounts/wip/dialog-run: 1/5] oauth2: Drop a recursive mainloop that was never run
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/dialog-run: 1/5] oauth2: Drop a recursive mainloop that was never run
- Date: Tue, 23 Apr 2013 15:15:14 +0000 (UTC)
commit 7f03a5543508a501d3521adc5f6bff390e338f1f
Author: Emanuele Aina <emanuele aina collabora com>
Date: Tue Apr 23 14:08:57 2013 +0200
oauth2: Drop a recursive mainloop that was never run
https://bugzilla.gnome.org/show_bug.cgi?id=695118
src/goabackend/goaoauth2provider.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index 0ba327a..8ec6368 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -737,7 +737,6 @@ typedef struct
GoaOAuth2Provider *provider;
GtkDialog *dialog;
GError *error;
- GMainLoop *loop;
WebKitDOMHTMLInputElement *password_node;
gchar *password;
@@ -1023,7 +1022,6 @@ get_tokens_and_identity (GoaOAuth2Provider *provider,
memset (&data, '\0', sizeof (IdentifyData));
data.provider = provider;
data.dialog = dialog;
- data.loop = g_main_loop_new (NULL, FALSE);
data.existing_identity = existing_identity;
/* TODO: use oauth2_proxy_build_login_url_full() */
@@ -1206,8 +1204,6 @@ get_tokens_and_identity (GoaOAuth2Provider *provider,
g_free (url);
g_free (data.authorization_code);
- if (data.loop != NULL)
- g_main_loop_unref (data.loop);
g_free (data.access_token);
g_free (data.refresh_token);
g_free (escaped_redirect_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]