[gnome-online-accounts/wip/rishi/owncloud-gssapi: 5/7] owncloud: Remove needless g_cancellable_reset calls
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/owncloud-gssapi: 5/7] owncloud: Remove needless g_cancellable_reset calls
- Date: Tue, 3 May 2016 15:43:11 +0000 (UTC)
commit fc041e8075b7929155fccc278973c0d993093fc9
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Feb 20 20:08:23 2016 +0100
owncloud: Remove needless g_cancellable_reset calls
It isn't possible for the GCancellable to be cancelled at this point.
If we had cancelled the dialog, we would have short-circuited our way
out of the function and never reached this point.
https://bugzilla.gnome.org/show_bug.cgi?id=762097
src/goabackend/goaowncloudprovider.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goaowncloudprovider.c b/src/goabackend/goaowncloudprovider.c
index 4d01cf8..0bfb96f 100644
--- a/src/goabackend/goaowncloudprovider.c
+++ b/src/goabackend/goaowncloudprovider.c
@@ -717,7 +717,6 @@ add_account (GoaProvider *provider,
goto out;
uri_webdav = g_strconcat (uri, WEBDAV_ENDPOINT, NULL);
- g_cancellable_reset (data.check_cancellable);
goa_http_client_check (http_client,
uri_webdav,
username,
@@ -912,7 +911,6 @@ refresh_account (GoaProvider *provider,
}
password = gtk_entry_get_text (GTK_ENTRY (data.password));
- g_cancellable_reset (data.check_cancellable);
goa_http_client_check (http_client,
uri_webdav,
username,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]