From bbd94b5a9ffc83569c771d81fa07457dfd61d20d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 28 Feb 2016 11:06:25 -0500 Subject: gtk: Strip newlines from g_warning and g_error g_logv adds one for us already. --- gtk/gtkprintoperation-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkprintoperation-unix.c') diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 1e17b0f831..d62173ef64 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -305,7 +305,7 @@ _gtk_print_operation_platform_backend_launch_preview (GtkPrintOperation *op, { gchar* uri; - g_warning ("%s %s", _("Error launching preview"), error->message); + g_warning ("Error launching preview: %s", error->message); g_error_free (error); error = NULL; -- cgit v1.2.1