mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
main: Since we use lots of crazy threads, ensure GDK is ready
This commit is contained in:
parent
ce8a106ea3
commit
4d11270a7c
@ -8,10 +8,12 @@ from g13gui.model.prefsstore import PreferencesStore
|
||||
from g13gui.g13.manager import Manager
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
from gi.repository import Gtk, GObject
|
||||
from gi.repository import Gtk, Gdk, GObject
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
Gdk.threads_init()
|
||||
|
||||
prefs = PreferencesStore.getPrefs()
|
||||
manager = Manager(prefs)
|
||||
manager.start()
|
||||
|
Loading…
Reference in New Issue
Block a user