[gnome-online-accounts/gnome-3-6] kerberos: Don't complete and unref the async operation yet



commit f363c8728f9c1df3aa67c3facaf66cc68c5a37e4
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Nov 10 17:02:28 2012 +0100

    kerberos: Don't complete and unref the async operation yet
    
    Another call to look_up_identity is in progress, so the operation
    would be complete in on_identity_looked_up.
    
    Fixes: https://bugzilla.gnome.org/688018

 src/goabackend/goakerberosprovider.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/goabackend/goakerberosprovider.c b/src/goabackend/goakerberosprovider.c
index 221ea17..44924a4 100644
--- a/src/goabackend/goakerberosprovider.c
+++ b/src/goabackend/goakerberosprovider.c
@@ -1779,9 +1779,6 @@ on_identity_looked_up_to_ensure_credentials (GoaKerberosProvider *self,
                     (GAsyncReadyCallback)
                     on_identity_looked_up,
                     operation_result);
-
-  g_simple_async_result_complete_in_idle (operation_result);
-  g_object_unref (operation_result);
 }
 
 static void



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