summaryrefslogtreecommitdiff
path: root/gtk/gtktextbufferserialize.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/gtktextbufferserialize.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/gtktextbufferserialize.c')
-rw-r--r--gtk/gtktextbufferserialize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextbufferserialize.c b/gtk/gtktextbufferserialize.c
index acb982fd7c..fbe6e91a68 100644
--- a/gtk/gtktextbufferserialize.c
+++ b/gtk/gtktextbufferserialize.c
@@ -72,7 +72,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
}
else
{
- g_warning ("Type %s is not serializable\n", g_type_name (value->g_type));
+ g_warning ("Type %s is not serializable", g_type_name (value->g_type));
}
G_GNUC_END_IGNORE_DEPRECATIONS
@@ -192,7 +192,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
}
else
{
- g_warning ("Type %s can not be deserialized\n", g_type_name (value->g_type));
+ g_warning ("Type %s can not be deserialized", g_type_name (value->g_type));
}
G_GNUC_END_IGNORE_DEPRECATIONS