[seahorse-nautilus] seahorse-tool: prefer g_printerr()



commit 20595ed573021a97abcbd1fde4b3d4310043c09b
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Mon Dec 4 14:49:29 2017 +0100

    seahorse-tool: prefer g_printerr()

 tool/seahorse-tool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tool/seahorse-tool.c b/tool/seahorse-tool.c
index 076d448..ae7f98f 100644
--- a/tool/seahorse-tool.c
+++ b/tool/seahorse-tool.c
@@ -694,7 +694,7 @@ main (int argc, char **argv)
     g_option_context_add_main_entries (octx, options, GETTEXT_PACKAGE);
 
     if (!gtk_init_with_args (&argc, &argv, _("File Encryption Tool"), (GOptionEntry *) options, 
GETTEXT_PACKAGE, &err)) {
-        fprintf (stderr, "seahorse-tool: %s\n", err->message);
+        g_printerr ("seahorse-tool: %s\n", err->message);
         g_error_free (err);
         return 2;
     }


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