ocarina: Don't do gtk locking anymore

I added this to help with setting album art in other threads.  Now that
I'm forcing this to the main thread, I don't think I need it anymore.
This commit is contained in:
Bryan Schumaker 2011-06-18 10:11:02 -04:00
parent 38f1d6ec8c
commit 445b3a79bc
2 changed files with 0 additions and 4 deletions

View File

@ -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()

View File

@ -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()