Fix GtkosxApplication load failure.
Viewmanager somehow lost its import of gi.
This commit is contained in:
parent
8c1ccabe31
commit
25dafee197
@ -107,7 +107,8 @@ from .managedwindow import ManagedWindow
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
if is_quartz():
|
if is_quartz():
|
||||||
try:
|
try:
|
||||||
gi.require_version('GtkosApplication', '1.0')
|
import gi
|
||||||
|
gi.require_version('GtkosxApplication', '1.0')
|
||||||
from gi.repository import GtkosxApplication as QuartzApp
|
from gi.repository import GtkosxApplication as QuartzApp
|
||||||
_GTKOSXAPPLICATION = True
|
_GTKOSXAPPLICATION = True
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user