Fix GI version check warning on GtkosxApplication.

This commit is contained in:
John Ralls 2017-05-04 15:33:53 -07:00
parent 6b2f7aea64
commit c5ddeeca5e

View File

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