diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-02-28 11:06:25 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-02-28 12:23:12 -0500 |
commit | bbd94b5a9ffc83569c771d81fa07457dfd61d20d (patch) | |
tree | e5a654ece274c67951fb0a8cb39d812256884aad /gtk/gtkmountoperation.c | |
parent | 72b40266bde69effa75fabae960748c2c7832a4d (diff) | |
download | gtk+-bbd94b5a9ffc83569c771d81fa07457dfd61d20d.tar.gz |
gtk: Strip newlines from g_warning and g_error
g_logv adds one for us already.
Diffstat (limited to 'gtk/gtkmountoperation.c')
-rw-r--r-- | gtk/gtkmountoperation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index f9365b0e8a..e78a5e235a 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -760,7 +760,7 @@ call_password_proxy_cb (GObject *source, &error)) { result = G_MOUNT_OPERATION_ABORTED; - g_warning ("Shell mount operation error: %s\n", error->message); + g_warning ("Shell mount operation error: %s", error->message); g_error_free (error); goto out; } @@ -927,7 +927,7 @@ call_question_proxy_cb (GObject *source, &error)) { result = G_MOUNT_OPERATION_ABORTED; - g_warning ("Shell mount operation error: %s\n", error->message); + g_warning ("Shell mount operation error: %s", error->message); g_error_free (error); goto out; } @@ -1549,7 +1549,7 @@ call_processes_proxy_cb (GObject *source, &error)) { result = G_MOUNT_OPERATION_ABORTED; - g_warning ("Shell mount operation error: %s\n", error->message); + g_warning ("Shell mount operation error: %s", error->message); g_error_free (error); goto out; } |