From: Alexander Butenko Date: Wed, 13 Jan 2010 05:56:12 +0000 (+0100) Subject: Strip trailing whitespace from console messages X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ff993ecde4b98dd5e71613946bf5616fc23410;p=midori Strip trailing whitespace from console messages --- diff --git a/panels/midori-console.c b/panels/midori-console.c index f47227fc..f758589f 100644 --- a/panels/midori-console.c +++ b/panels/midori-console.c @@ -219,6 +219,7 @@ midori_console_treeview_render_text_cb (GtkTreeViewColumn* column, gtk_tree_model_get (model, iter, 0, &message, 1, &line, 2, &source_id, -1); + g_strchomp (message); text = g_strdup_printf ("%d @ %s\n%s", line, source_id, message); g_object_set (renderer, "text", text, NULL); g_free (text);