From 4d48f98f6dcdf97d9179d2cb5ebf1edb79dd5500 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 28 Sep 2016 14:13:15 -0700 Subject: [PATCH] visualizer-ticks: remove extraneous assertion This isn't exactly true anymore, so we need to remove it now that we can have more interesting time spans. --- lib/sp-visualizer-ticks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/sp-visualizer-ticks.c b/lib/sp-visualizer-ticks.c index ac25e2fb..586d720a 100644 --- a/lib/sp-visualizer-ticks.c +++ b/lib/sp-visualizer-ticks.c @@ -82,8 +82,6 @@ draw_ticks (SpVisualizerTicks *self, space = (gdouble)area->width / (gdouble)timespan * (gdouble)tick_sizing[ticks].span; half = tick_sizing[ticks].width / 2.0; - g_assert (space >= MIN_TICK_DISTANCE); - for (gdouble x = 0; x < area->width; x += space) { cairo_move_to (cr, (gint)x - .5 - (gint)half, 0);