Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/track.py
diff options
context:
space:
mode:
Diffstat (limited to 'track.py')
-rw-r--r--track.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/track.py b/track.py
index e4a21ae..0489145 100644
--- a/track.py
+++ b/track.py
@@ -47,8 +47,8 @@ class Track:
context.move_to(5,
self.linespacing * 10 * len(self.piano.staves) / 2 - height / 2)
context.show_layout(layout)
- self.piano.draw(context, width, text_width + 10,
- rmarg, self.linespacing, window.cairo_create())
+ self.piano.draw(window, width, text_width + 10,
+ rmarg, self.linespacing)
#start and end line
context.set_line_width(2)