make Toplevel call start_gtk

This commit is contained in:
Tom Tromey
2013-11-15 19:26:37 -07:00
parent 558fef88b2
commit 99ca7a2297
3 changed files with 5 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ import threading
class _ToplevelState(object):
def __init__(self):
gui.startup.start_gtk()
# This lock must be held when using the other globals here.
self.toplevel_lock = threading.Lock()
self.next_toplevel = 1