summaryrefslogtreecommitdiff
path: root/gtk/gtkiconcache.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/gtkiconcache.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/gtkiconcache.c')
-rw-r--r--gtk/gtkiconcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index a8cfaf4b29..63a943f46e 100644
--- a/gtk/gtkiconcache.c
+++ b/gtk/gtkiconcache.c
@@ -144,7 +144,7 @@ _gtk_icon_cache_new_for_path (const gchar *path)
if (!_gtk_icon_cache_validate (&info))
{
g_mapped_file_unref (map);
- g_warning ("Icon cache '%s' is invalid\n", cache_filename);
+ g_warning ("Icon cache '%s' is invalid", cache_filename);
goto done;
}