[gimp] libgimpwidgets: use g_printerr() not g_warning() for wrong icon theme paths



commit ccd6e316730492760a13361ce96ab617c49912b0
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jan 4 00:30:51 2016 +0100

    libgimpwidgets: use g_printerr() not g_warning() for wrong icon theme paths

 libgimpwidgets/gimpicons.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libgimpwidgets/gimpicons.c b/libgimpwidgets/gimpicons.c
index b7edd2e..387ecd4 100644
--- a/libgimpwidgets/gimpicons.c
+++ b/libgimpwidgets/gimpicons.c
@@ -425,8 +425,8 @@ gimp_icons_set_icon_theme (GFile *path)
 
   if (! g_file_query_exists (path, NULL))
     {
-      g_warning ("Icon theme path does not exist: %s",
-                 gimp_file_get_utf8_name (path));
+      g_printerr ("%s: Icon theme path does not exist: %s\n",
+                  G_STRFUNC, gimp_file_get_utf8_name (path));
     }
   else
     {
@@ -434,8 +434,8 @@ gimp_icons_set_icon_theme (GFile *path)
 
       if (! g_file_query_exists (hicolor, NULL))
         {
-          g_warning ("Icon theme path has no 'hicolor' subdirectory: %s",
-                     gimp_file_get_utf8_name (path));
+          g_printerr ("%s: Icon theme path has no 'hicolor' subdirectory: %s\n",
+                      G_STRFUNC, gimp_file_get_utf8_name (path));
         }
       else
         {
@@ -443,8 +443,8 @@ gimp_icons_set_icon_theme (GFile *path)
 
           if (! g_file_query_exists (index, NULL))
             {
-              g_warning ("Icon theme path has no 'hicolor/index.theme': %s",
-                         gimp_file_get_utf8_name (path));
+              g_printerr ("%s: Icon theme path has no 'hicolor/index.theme': %s\n",
+                          G_STRFUNC, gimp_file_get_utf8_name (path));
             }
           else
             {


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