diff options
author | Thomas Haller <thaller@redhat.com> | 2016-11-22 12:06:31 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-11-22 13:47:26 +0100 |
commit | f71a4dcf45b8934f82a1e2e7e2c8b1e6c609acd7 (patch) | |
tree | 31c38d3438c9ddd66f6e29b8b67b3deff9df70a4 | |
parent | 82df4441203e036e2e76b25ddb4e6ecb4a0e0861 (diff) | |
download | network-manager-applet-th/c-e-import-fixes-bgo774290.tar.gz |
c-e: use g_printerr() instead of g_warning() for user-errorth/c-e-import-fixes-bgo774290
We shouldn't use g_log() for regular error messages. They garble
the output and should be used only for internal errors and notifications
(or preferably not at all).
-rw-r--r-- | src/connection-editor/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection-editor/main.c b/src/connection-editor/main.c index e0318a97..d848668e 100644 --- a/src/connection-editor/main.c +++ b/src/connection-editor/main.c @@ -341,7 +341,7 @@ main (int argc, char *argv[]) g_option_context_set_summary (opt_ctx, "Allows users to view and edit network connection settings"); g_option_context_add_main_entries (opt_ctx, entries, NULL); if (!g_option_context_parse (opt_ctx, &argc, &argv, &error)) { - g_warning ("Failed to parse options: %s", error->message); + g_printerr ("Failed to parse options: %s\n", error->message); goto out; } |