gtk: Strip newlines from g_warning and g_error
g_logv adds one for us already.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user