Lock image

This was uncommented, and led to problems.
This commit is contained in:
Bryan Schumaker 2010-11-28 14:09:14 -05:00
parent 7ca735996e
commit c0423f46c6
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ class AlbumArtImage(Image):
def set(self, file=None):
#print "attempting to enter"
#gdk.threads_enter()
gdk.threads_enter()
#print "entered"
for i in xrange(2):
self.file = file
@ -72,7 +72,7 @@ class AlbumArtImage(Image):
pass
file = "images/ocarina.png"
#print "threads leaving"
#gdk.threads_leave()
gdk.threads_leave()
def set_height(self, new_h):
size = self.size_request()