summaryrefslogtreecommitdiffstats
path: root/grapher/GraphWidget.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/GraphWidget.cxx')
-rw-r--r--grapher/GraphWidget.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx
index 5b0d1b1c..4a1e0918 100644
--- a/grapher/GraphWidget.cxx
+++ b/grapher/GraphWidget.cxx
@@ -54,13 +54,6 @@ namespace systemtap
if(!window)
return true;
- Gtk::Allocation allocation = get_allocation();
-
- const int graphWidth = allocation.get_width();
- const int graphHeight = allocation.get_height();
- const int width = graphWidth - 20;
- const int height = graphHeight - 20;
-
Cairo::RefPtr<Cairo::Context> cr = window->create_cairo_context();
#if 0
if(event && !_autoScaling)