[gnome-online-accounts] identity: move debug statement to proper place



commit 1cf71f62f8eb9d2278fe80091c0f2efa2cf82ad8
Author: Ray Strode <rstrode redhat com>
Date:   Thu Jul 14 08:14:30 2016 -0400

    identity: move debug statement to proper place
    
    we were printing that the identity was signed in, even when it wasn't.

 src/goaidentity/goaidentityservice.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/goaidentity/goaidentityservice.c b/src/goaidentity/goaidentityservice.c
index 393e7f0..ab2e1a9 100644
--- a/src/goaidentity/goaidentityservice.c
+++ b/src/goaidentity/goaidentityservice.c
@@ -789,6 +789,7 @@ on_identity_signed_in (GoaIdentityManager *manager,
     }
   else
     {
+      g_debug ("GoaIdentityService: identity signed in");
       g_simple_async_result_set_op_res_gpointer (operation_result,
                                                  g_object_ref (identity),
                                                  (GDestroyNotify)
@@ -796,8 +797,6 @@ on_identity_signed_in (GoaIdentityManager *manager,
     }
   g_simple_async_result_complete_in_idle (operation_result);
   g_object_unref (operation_result);
-
-  g_debug ("GoaIdentityService: identity signed in");
 }
 
 static void


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