gtk: 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 11:06:25 -05:00
parent 72b40266bd
commit bbd94b5a9f
40 changed files with 83 additions and 86 deletions

View File

@ -160,7 +160,7 @@ get_utf8_property (Display *xdisplay,
if (!g_utf8_validate (val, nitems, NULL))
{
g_warning ("Property %s contained invalid UTF-8\n",
g_warning ("Property %s contained invalid UTF-8",
gdk_x11_get_xatom_name (atom));
XFree (val);
return NULL;