summaryrefslogtreecommitdiff
path: root/gtk/gtkmountoperation.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-02-28 11:06:25 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-02-28 12:23:12 -0500
commitbbd94b5a9ffc83569c771d81fa07457dfd61d20d (patch)
treee5a654ece274c67951fb0a8cb39d812256884aad /gtk/gtkmountoperation.c
parent72b40266bde69effa75fabae960748c2c7832a4d (diff)
downloadgtk+-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.c6
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;
}