[evolution-data-server] EGoaClient nitpicks.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] EGoaClient nitpicks.
- Date: Sat, 27 Apr 2013 13:28:33 +0000 (UTC)
commit fdfc4c71a9c45a384d03b4b401109854d36b1e3c
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Apr 27 09:28:13 2013 -0400
EGoaClient nitpicks.
modules/gnome-online-accounts/e-goa-client.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/modules/gnome-online-accounts/e-goa-client.c b/modules/gnome-online-accounts/e-goa-client.c
index 2575933..093ce07 100644
--- a/modules/gnome-online-accounts/e-goa-client.c
+++ b/modules/gnome-online-accounts/e-goa-client.c
@@ -48,8 +48,7 @@ enum {
static guint signals[LAST_SIGNAL];
/* Forward Declarations */
-static void e_goa_client_interface_init
- (GInitableIface *interface);
+static void e_goa_client_interface_init (GInitableIface *interface);
/* By default, the GAsyncInitable interface calls GInitable.init()
* from a separate thread, so we only have to override GInitable. */
@@ -107,8 +106,6 @@ e_goa_client_claim_one_orphan (EGoaClient *client,
goa_account_id = goa_account_get_id (goa_account);
g_return_val_if_fail (goa_account_id != NULL, NULL);
- g_print ("GOA: Claiming orphaned account '%s'\n", goa_account_id);
-
g_mutex_lock (&client->priv->orphans_lock);
old_goa_object = g_hash_table_lookup (orphans, goa_account_id);
@@ -120,6 +117,11 @@ e_goa_client_claim_one_orphan (EGoaClient *client,
g_mutex_unlock (&client->priv->orphans_lock);
+ if (old_goa_object != NULL)
+ g_print (
+ "GOA: Claiming orphaned account '%s'\n",
+ goa_account_id);
+
return old_goa_object;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]