[gnome-todo] storage-goa: cleanup code



commit fec95a9ffa5e23e2b2ac1f57c158714170612b7f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Aug 24 12:53:57 2015 -0300

    storage-goa: cleanup code

 src/storage/gtd-storage-goa.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/storage/gtd-storage-goa.c b/src/storage/gtd-storage-goa.c
index 0f303dd..88b570c 100644
--- a/src/storage/gtd-storage-goa.c
+++ b/src/storage/gtd-storage-goa.c
@@ -161,8 +161,6 @@ gtd_storage_goa_set_property (GObject      *object,
 {
   GtdStorageGoa *self = GTD_STORAGE_GOA (object);
 
-  g_message ("%s", G_STRFUNC);
-
   switch (prop_id)
     {
     case PROP_ACCOUNT:
@@ -175,10 +173,8 @@ gtd_storage_goa_set_property (GObject      *object,
 
           icon_name = g_strdup_printf ("goa-account-%s", goa_account_get_provider_type (self->account));
 
-          g_message ("Creating GOA storage: %s (%s)", goa_account_get_identity (self->account), 
goa_account_get_id (self->account));
-
           gtd_storage_set_name (GTD_STORAGE (object), goa_account_get_identity (self->account));
-          gtd_storage_set_provider (GTD_STORAGE (object), goa_account_get_id (self->account));
+          gtd_storage_set_provider (GTD_STORAGE (object), goa_account_get_provider_name (self->account));
 
           g_set_object (&self->icon, g_themed_icon_new (icon_name));
           g_object_notify (object, "icon");


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