summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2011-12-01 12:28:38 +0100
committerGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2011-12-01 12:28:38 +0100
commit3f624a2eb30ebc17abadedea888072186ea239bb (patch)
treee03b42c15b3e39e77d082cd60d2bf2d0c2defa1f /profile.c
parentb65f8230daca1bca34496f6281ecc0dbe70b0724 (diff)
downloadsubsurface-3f624a2eb30ebc17abadedea888072186ea239bb.tar.gz
Remove commented code
I left some printer-spesific commented code in there. Away with it. Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/profile.c b/profile.c
index c7d945f14..cb0bc2d5d 100644
--- a/profile.c
+++ b/profile.c
@@ -528,15 +528,8 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi
for (i = 0; i < pi->nr; i++, entry++)
line_to(gc, entry->sec, entry->depth);
cairo_close_path(gc->cr);
-/*
- if (gc->printer) {
- set_source_rgba(gc, DEPTH_FILL_PRINTER);
- cairo_fill_preserve(cr);
- set_source_rgba(gc, DEPTH_STROKE_PRINTER);
- cairo_stroke(cr);
- return;
- }
-*/ cairo_fill(gc->cr);
+
+ cairo_fill(gc->cr);
/* Now do it again for the velocity colors */
entry = pi->entry;