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

@ -129,7 +129,7 @@ _gtk_print_get_default_user_units (void)
if (strcmp (e, "default:inch")==0)
return GTK_UNIT_INCH;
else if (strcmp (e, "default:mm"))
g_warning ("Whoever translated default:mm did so wrongly.\n");
g_warning ("Whoever translated default:mm did so wrongly.");
return GTK_UNIT_MM;
}