[bijiben] deserializer: Do not show warning when icon not found



commit d25aa203f2eb09ac88af005b0fd6e095de15dd46
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Wed Jan 2 00:33:36 2013 +0100

    deserializer: Do not show warning when icon not found
    
    Icons are just cache, we don't need to warn about cache not there

 src/libbiji/deserializer/biji-lazy-deserializer.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/libbiji/deserializer/biji-lazy-deserializer.c b/src/libbiji/deserializer/biji-lazy-deserializer.c
index 20d691e..f987c30 100644
--- a/src/libbiji/deserializer/biji-lazy-deserializer.c
+++ b/src/libbiji/deserializer/biji-lazy-deserializer.c
@@ -711,15 +711,10 @@ biji_note_obj_load_icon (BijiNoteObj *note)
   retval = gdk_pixbuf_new_from_file (filename, &error);
 
   if (error)
-  {
-     g_warning ("%s", error->message);
      g_error_free (error);
-  }
 
   else
-  {
      biji_note_obj_set_icon (note, retval);
-  }
 
   g_free (filename);
 }



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