aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui/gui.py')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/gui.py b/scripts/pybootchartgui/pybootchartgui/gui.py
index 87081e30eb..310c3d1bcc 100644
--- a/scripts/pybootchartgui/pybootchartgui/gui.py
+++ b/scripts/pybootchartgui/pybootchartgui/gui.py
@@ -35,7 +35,7 @@ class PyBootchartWidget(gtk.DrawingArea):
self.zoom_ratio = 1.0
self.x, self.y = 0.0, 0.0
- self.chart_width, self.chart_height = draw.extents(*res)
+ self.chart_width, self.chart_height = draw.extents(res)
self.hadj = None
self.vadj = None
@@ -56,7 +56,7 @@ class PyBootchartWidget(gtk.DrawingArea):
cr.paint()
cr.scale(self.zoom_ratio, self.zoom_ratio)
cr.translate(-self.x, -self.y)
- draw.render(cr, *self.res)
+ draw.render(cr, self.res)
def position_changed(self):
self.emit("position-changed", self.x, self.y)