[frogr] Fixed wrong calls to g_print()



commit 5f37b33187bde27fb0585dc8c4a74004479a7132
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Fri Jan 21 17:39:07 2011 +0100

    Fixed wrong calls to g_print()

 src/main.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index f41f81e..ae416c8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -48,15 +48,13 @@ _get_paths_list_from_array (char **paths_str, int n_paths)
       filepath = g_filename_from_uri (uri, NULL, &err);
       if (err)
         {
-          g_print ("Error loading picture %s: %s\n", uri, err->message);
+          g_debug ("Error loading picture %s: %s\n", uri, err->message);
           g_error_free (err);
           err = NULL;
         }
       else
-        {
-          filepaths = g_slist_append (filepaths, filepath);
-          g_print ("Arg %d added: '%s'\n", i, filepath);
-        }
+        filepaths = g_slist_append (filepaths, filepath);
+
       g_free (uri);
     }
 



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