summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-unix.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/gtkprintoperation-unix.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/gtkprintoperation-unix.c')
-rw-r--r--gtk/gtkprintoperation-unix.c2
1 files changed, 1 insertions, 1 deletions
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;