diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-02-28 11:06:25 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-02-28 12:23:12 -0500 |
commit | bbd94b5a9ffc83569c771d81fa07457dfd61d20d (patch) | |
tree | e5a654ece274c67951fb0a8cb39d812256884aad /gtk/gtklistbox.c | |
parent | 72b40266bde69effa75fabae960748c2c7832a4d (diff) | |
download | gtk+-bbd94b5a9ffc83569c771d81fa07457dfd61d20d.tar.gz |
gtk: Strip newlines from g_warning and g_error
g_logv adds one for us already.
Diffstat (limited to 'gtk/gtklistbox.c')
-rw-r--r-- | gtk/gtklistbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index 59a46b88cd..c3aa6a9e7f 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -2435,7 +2435,7 @@ gtk_list_box_remove (GtkContainer *container, } else { - g_warning ("Tried to remove non-child %p\n", child); + g_warning ("Tried to remove non-child %p", child); } return; } @@ -2443,7 +2443,7 @@ gtk_list_box_remove (GtkContainer *container, row = GTK_LIST_BOX_ROW (child); if (g_sequence_iter_get_sequence (ROW_PRIV (row)->iter) != priv->children) { - g_warning ("Tried to remove non-child %p\n", child); + g_warning ("Tried to remove non-child %p", child); return; } |