diff --git a/ocarina/__init__.py b/ocarina/__init__.py index 355c5c69..781656d1 100644 --- a/ocarina/__init__.py +++ b/ocarina/__init__.py @@ -30,6 +30,4 @@ def run(): body.footer.set_art("images/ocarina.png") libsaria.startup() print "Startup took:", uptime() - gtk.threads_enter() gtk.main() - gtk.threads_leave() diff --git a/ocarina/body/image.py b/ocarina/body/image.py index 90b14a90..4ea99eed 100644 --- a/ocarina/body/image.py +++ b/ocarina/body/image.py @@ -48,10 +48,8 @@ class FileImage(gtk.Image): if path != self.path: self.path = path self.height = height - gtk.threads_enter() self.set_from_file(path) resize(self, height) - gtk.threads_leave() def tooltip(self, image, x, y, keyboard, tip): image = gtk.Image()