summaryrefslogtreecommitdiff
path: root/gtk/gtkcustompaperunixdialog.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/gtkcustompaperunixdialog.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/gtkcustompaperunixdialog.c')
-rw-r--r--gtk/gtkcustompaperunixdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcustompaperunixdialog.c b/gtk/gtkcustompaperunixdialog.c
index b98ba78abd..993f0e0a65 100644
--- a/gtk/gtkcustompaperunixdialog.c
+++ b/gtk/gtkcustompaperunixdialog.c
@@ -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;
}