summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkplaylist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-02 20:29:01 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-02 20:29:01 +0100
commit9594683d934a21462640943eff59365596bde33f (patch)
tree3d94605d21ce1eef4b27ea2a1393323a30b2b134 /plugins/gtkui/gtkplaylist.c
parent896d486711b3bdfee8c7317cdb1f28bd078bc614 (diff)
update hscroll on add/remove columns
Diffstat (limited to 'plugins/gtkui/gtkplaylist.c')
-rw-r--r--plugins/gtkui/gtkplaylist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkplaylist.c b/plugins/gtkui/gtkplaylist.c
index 8c822dcc..b5fa1d31 100644
--- a/plugins/gtkui/gtkplaylist.c
+++ b/plugins/gtkui/gtkplaylist.c
@@ -1729,7 +1729,10 @@ gtkpl_column_remove (gtkplaylist_t *pl, gtkpl_column_t *c) {
}
cc = cc->next;
}
- assert (cc && "gtkpl: attempted to remove column that is not in list");
+
+ if (!cc) {
+ trace ("gtkpl: attempted to remove column that is not in list\n");
+ }
}
void