wayland: Strip newlines from g_warning and g_error

g_logv adds one for us already.
This commit is contained in:
Matthias Clasen
2016-02-28 12:21:09 -05:00
parent 4f422d1f5b
commit 664b166838
2 changed files with 3 additions and 3 deletions

View File

@ -258,7 +258,7 @@ selection_buffer_read_cb (GObject *object,
{
if (error)
{
g_warning (G_STRLOC ": error reading selection buffer: %s\n", error->message);
g_warning (G_STRLOC ": error reading selection buffer: %s", error->message);
g_error_free (error);
}
else