[librsvg] tools: Print errors to stderr



commit bb2233a1ce38a74acf9c7a0f34f4d2e2d7b734d5
Author: Christian Persch <chpe gnome org>
Date:   Wed Sep 5 12:32:07 2012 +0200

    tools: Print errors to stderr
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683380

 tools/rsvg-tools-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/rsvg-tools-main.c b/tools/rsvg-tools-main.c
index 4f864b5..a38944f 100644
--- a/tools/rsvg-tools-main.c
+++ b/tools/rsvg-tools-main.c
@@ -114,7 +114,7 @@ rsvg_tools_main (int *argc, char ***argv)
     g_option_context_free (g_option_context);
 
     if (bVersion != 0) {
-        g_print ("test-performance version %s\n", VERSION);
+        g_printerr ("test-performance version %s\n", VERSION);
         exit (EXIT_SUCCESS);
     }
 
@@ -123,7 +123,7 @@ rsvg_tools_main (int *argc, char ***argv)
             n_args++;
 
     if (n_args < 1) {
-        g_print (_("Must specify a SVG file\n"));
+        g_printerr (_("Must specify a SVG file\n"));
         exit (EXIT_FAILURE);
     }
 



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