[gnome-online-accounts/gnome-3-6] ewsclient: Use g_simple_async_result_set_check_cancellable



commit de6ee1fa825297c6c89cddb767f4da8df6dbfca2
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Dec 5 19:34:17 2012 +0100

    ewsclient: Use g_simple_async_result_set_check_cancellable
    
    Fixes: https://bugzilla.gnome.org/689642

 src/goabackend/goaewsclient.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index 3a56f43..caa9ca8 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -464,6 +464,7 @@ goa_ews_client_autodiscover (GoaEwsClient        *client,
                                                     G_CALLBACK (ews_client_autodiscover_cancelled_cb),
                                                     data,
                                                     NULL);
+      g_simple_async_result_set_check_cancellable (data->res, data->cancellable);
     }
 
   auth = g_slice_new0 (AutodiscoverAuthData);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]