From 4f422d1f5b26ebaeb9f50e42b5f76242b19088b3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 28 Feb 2016 12:20:56 -0500 Subject: [PATCH] quartz: Strip newlines from g_warning and g_error g_logv adds one for us already. --- gdk/quartz/gdkselection-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/quartz/gdkselection-quartz.c b/gdk/quartz/gdkselection-quartz.c index bb57a749e9..c6014a2579 100644 --- a/gdk/quartz/gdkselection-quartz.c +++ b/gdk/quartz/gdkselection-quartz.c @@ -162,7 +162,7 @@ _gdk_quartz_display_text_property_to_utf8_list (GdkDisplay *display, { gchar *enc_name = gdk_atom_name (encoding); - g_warning ("gdk_text_property_to_utf8_list_for_display: encoding %s not handled\n", enc_name); + g_warning ("gdk_text_property_to_utf8_list_for_display: encoding %s not handled", enc_name); g_free (enc_name); if (list)