Fix GtkosxApplication load failure.

Viewmanager somehow lost its import of gi.
This commit is contained in:
John Ralls 2017-06-08 10:19:01 -07:00
parent 8c1ccabe31
commit 25dafee197

View File

@ -107,7 +107,8 @@ from .managedwindow import ManagedWindow
#-------------------------------------------------------------------------
if is_quartz():
try:
gi.require_version('GtkosApplication', '1.0')
import gi
gi.require_version('GtkosxApplication', '1.0')
from gi.repository import GtkosxApplication as QuartzApp
_GTKOSXAPPLICATION = True
except: