ocarina: Get gtk lock around gtk.main()
The internet suggests that this may help with the random crashes I sometimes get. We'll see.
This commit is contained in:
parent
e0dd940671
commit
3301439e88
|
@ -29,4 +29,6 @@ def run():
|
|||
callbacks.on_get_art("images/ocarina.png", 0)
|
||||
libsaria.startup()
|
||||
print "Startup took:", uptime()
|
||||
gtk.threads_enter()
|
||||
gtk.main()
|
||||
gtk.threads_leave()
|
||||
|
|
Loading…
Reference in New Issue