[bijiben] all: cleanup warnings



commit f80c3580e6e95bb71cfdcb057b0def42477508fa
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Thu Aug 22 00:54:47 2013 +0200

    all: cleanup warnings

 src/bjb-bijiben.c            |    4 ++--
 src/libbiji/biji-note-book.c |    1 -
 src/libbiji/biji-tracker.c   |    7 +++----
 3 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/src/bjb-bijiben.c b/src/bjb-bijiben.c
index 080696a..7906e92 100644
--- a/src/bjb-bijiben.c
+++ b/src/bjb-bijiben.c
@@ -325,7 +325,7 @@ on_client_got (GObject *source_object,
 
       if (g_strcmp0 (type, "owncloud") ==0)
       {
-        g_warning ("%s", goa_account_get_id (account));
+        g_message ("Loading account %s", goa_account_get_id (account));
         biji_note_book_add_goa_object (self->priv->book, object);
       }
 
@@ -391,7 +391,7 @@ bijiben_startup (GApplication *application)
 
   g_object_get (self->priv->settings, "color", &default_color, NULL);
   gdk_rgba_parse (&color, default_color);
-  g_warning ("bijiben wants color %s", default_color);
+
   error = NULL;
   self->priv->book = biji_note_book_new (storage, &color, &error);
   if (error)
diff --git a/src/libbiji/biji-note-book.c b/src/libbiji/biji-note-book.c
index 13c5617..69e40bb 100644
--- a/src/libbiji/biji-note-book.c
+++ b/src/libbiji/biji-note-book.c
@@ -174,7 +174,6 @@ biji_note_book_set_property (GObject      *object,
       self->priv->color.blue = color->blue;
       self->priv->color.green = color->green;
       self->priv->color.alpha = color->alpha;
-      g_warning ("book color is not done :%s", gdk_rgba_to_string (&self->priv->color));
       break;
 
     default:
diff --git a/src/libbiji/biji-tracker.c b/src/libbiji/biji-tracker.c
index a4a6990..8393aa5 100644
--- a/src/libbiji/biji-tracker.c
+++ b/src/libbiji/biji-tracker.c
@@ -118,7 +118,7 @@ biji_finish_update (GObject *source_object,
   GError *error;
   gchar *query;
 
-  g_warning ("biji finish update");
+
   self = TRACKER_SPARQL_CONNECTION (source_object);
   finisher = user_data;
   error = NULL;
@@ -137,7 +137,6 @@ biji_finish_update (GObject *source_object,
     finisher->bool_cb (TRUE, finisher->user_data);
 
   biji_tracker_finisher_free (finisher);
-  g_warning ("biji finish update  = done");
 }
 
 
@@ -663,7 +662,7 @@ update_ressource (BijiTrackerFinisher *finisher, gchar *tracker_urn_uuid )
   created = g_time_val_to_iso8601 (&t);
   content = tracker_str (info->content);
 
-  g_warning ("ENSURE RESSOURCE: *UPDATING* ressource:%s:%s", info->title, tracker_urn_uuid);
+  g_message ("Updating ressource <%s> %s", info->title, tracker_urn_uuid);
 
   query = g_strdup_printf (
       "INSERT OR REPLACE { <%s> a nfo:Note , nie:DataObject ; "
@@ -702,7 +701,7 @@ push_new_note (BijiTrackerFinisher *finisher)
 
   book = finisher->book;
   info = finisher->info;
-  g_warning ("ENSURE RESSOURCE: pushing *NEW* ressource...");
+  g_message ("Creating ressource <%s> %s", info->title, info->url);
 
   content = tracker_str (info->content);
   t.tv_usec = 0;


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