[sysprof/wip/visualizers] visualizer-ticks: remove extraneous assertion
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] visualizer-ticks: remove extraneous assertion
- Date: Wed, 28 Sep 2016 21:13:51 +0000 (UTC)
commit 4d48f98f6dcdf97d9179d2cb5ebf1edb79dd5500
Author: Christian Hergert <chergert redhat com>
Date: Wed Sep 28 14:13:15 2016 -0700
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 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/lib/sp-visualizer-ticks.c b/lib/sp-visualizer-ticks.c
index ac25e2f..586d720 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]