[gnome-control-center] user-accounts: Complete discover on failure



commit ee673b73893be2ce8d87e96d6f7904d046cb05a0
Author: Stef Walter <stefw gnome org>
Date:   Sat Oct 6 12:27:34 2012 -0400

    user-accounts: Complete discover on failure
    
    When realmd discovery doesn't return a domain, complete the discovery
    appropriately. Previously we would never complete.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685617

 panels/user-accounts/um-realm-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-realm-manager.c b/panels/user-accounts/um-realm-manager.c
index bb6d8df..3598ce8 100644
--- a/panels/user-accounts/um-realm-manager.c
+++ b/panels/user-accounts/um-realm-manager.c
@@ -317,9 +317,9 @@ on_provider_discover (GObject *source,
 
         } else {
                 g_simple_async_result_take_error (async, error);
-                g_simple_async_result_complete (async);
         }
 
+        g_simple_async_result_complete (async);
         g_object_unref (async);
 }
 



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