diff options
Diffstat (limited to 'mouth.py')
-rw-r--r-- | mouth.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,16 +23,16 @@ # This code is a super-stripped down version of the waveform view from Measure -import gtk +from gi.repository import Gtk import cairo from struct import unpack import numpy.core -class Mouth(gtk.DrawingArea): +class Mouth(Gtk.DrawingArea): def __init__(self, audioSource, fill_color): - gtk.DrawingArea.__init__(self) + GObject.GObject.__init__(self) self.connect("expose_event", self.expose) self.buffers = [] self.buffer_size = 256 |