[gnome-launch-box] some updates



commit 4bcc2efa32925be5cb2a7e7dc506d4b1fba1468a
Author: Sven Herzberg <herzi gnome-de org>
Date:   Wed Feb 10 10:32:11 2010 +0100

    some updates
    
    * src/lb-utils.c: turn the g_printerr() into a real warning for
      debugging; drop the debugging g_print() statement

 src/lb-utils.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/lb-utils.c b/src/lb-utils.c
index cf3487d..b6d858a 100644
--- a/src/lb-utils.c
+++ b/src/lb-utils.c
@@ -219,7 +219,7 @@ lb_get_icon_name_for_uri (const gchar *uri)
 
   if (!info)
     {
-      g_printerr ("error reading file info for %s: %s",
+      g_warning ("error reading file info for %s: %s",
                   uri, error->message);
       g_error_free (error);
     }
@@ -246,8 +246,6 @@ lb_get_icon_name_for_uri (const gchar *uri)
 
   g_object_unref (file);
 
-  g_print ("%s(%s): %s\n", G_STRFUNC, G_STRLOC, result ? result : "(nil)");
-
   return result;
 }
 



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