Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/speak/mouth.py
diff options
context:
space:
mode:
Diffstat (limited to 'speak/mouth.py')
-rw-r--r--speak/mouth.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/speak/mouth.py b/speak/mouth.py
index b01155a..3966d2f 100644
--- a/speak/mouth.py
+++ b/speak/mouth.py
@@ -23,15 +23,15 @@
# 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)
+ Gtk.DrawingArea.__init__(self)
self.connect("expose_event",self.expose)
self.buffers = []
self.buffer_size = 256