From 913cd91df05d4c1de34df7fce776edd04267f00f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Jun 2020 22:12:14 -0400 Subject: [PATCH] widget: Fix an oversight g_message comes with a builtin newline, don't add one to the message. --- gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 9b936ef6f2..857aa9ac62 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -4378,7 +4378,7 @@ gtk_widget_run_controllers (GtkWidget *widget, if (this_handled && (type == GDK_KEY_PRESS || type == GDK_KEY_RELEASE)) { - g_message ("key %s (keyval %d) handled at widget %s by controller %s\n", + g_message ("key %s (keyval %d) handled at widget %s by controller %s", type == GDK_KEY_PRESS ? "press" : "release", gdk_key_event_get_keyval (event), G_OBJECT_TYPE_NAME (widget),