[sysprof/wip/visualizers] cpu-visualizer: remove prepare vfunc
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] cpu-visualizer: remove prepare vfunc
- Date: Tue, 27 Sep 2016 00:40:08 +0000 (UTC)
commit e537b84c29d566ce32468d3df5ad86b7d99437ba
Author: Christian Hergert <chergert redhat com>
Date: Mon Sep 26 17:37:59 2016 -0700
cpu-visualizer: remove prepare vfunc
This is going away, at least in this form.
lib/sp-cpu-visualizer-row.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/lib/sp-cpu-visualizer-row.c b/lib/sp-cpu-visualizer-row.c
index cc2bc4b..62ac7ec 100644
--- a/lib/sp-cpu-visualizer-row.c
+++ b/lib/sp-cpu-visualizer-row.c
@@ -121,27 +121,11 @@ sp_cpu_visualizer_row_set_reader (SpVisualizerRow *row,
}
static void
-sp_cpu_visualizer_row_prepare (SpLineVisualizerRow *row,
- cairo_t *cr,
- guint counter_id)
-{
- g_assert (SP_IS_LINE_VISUALIZER_ROW (row));
- g_assert (cr != NULL);
- g_assert (counter_id > 0);
-
- cairo_set_source_rgba (cr, 0, 0, 0, 0.4);
- cairo_set_line_width (cr, 1.0);
-}
-
-static void
sp_cpu_visualizer_row_class_init (SpCpuVisualizerRowClass *klass)
{
- SpLineVisualizerRowClass *line_class = SP_LINE_VISUALIZER_ROW_CLASS (klass);
SpVisualizerRowClass *row_class = SP_VISUALIZER_ROW_CLASS (klass);
row_class->set_reader = sp_cpu_visualizer_row_set_reader;
-
- line_class->prepare = sp_cpu_visualizer_row_prepare;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]