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:
parent
38f1d6ec8c
commit
445b3a79bc
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue