[gnome-bluetooth] wizard: use g_printerr() for error messages



commit 6188c2b9f9414bc288f22f0cb31086cc1af1d6a0
Author: Gustavo Padovan <gustavo padovan collabora co uk>
Date:   Sat May 18 08:38:04 2013 -0300

    wizard: use g_printerr() for error messages

 wizard/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 9974824..b553231 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -942,10 +942,10 @@ int main (int argc, char **argv)
        if (gtk_init_with_args(&argc, &argv, NULL,
                                options, GETTEXT_PACKAGE, &error) == FALSE) {
                if (error) {
-                       g_print("%s\n", error->message);
+                       g_printerr("%s\n", error->message);
                        g_error_free(error);
                } else
-                       g_print("An unknown error occurred\n");
+                       g_printerr("An unknown error occurred\n");
 
                return 1;
        }


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