Convert backend determination for pygi and Gtk3 (GEP-029)
svn: r20005
This commit is contained in:
parent
9f3feb9832
commit
e9a2520802
@ -94,7 +94,7 @@ def is_quartz():
|
||||
from gi.repository import Gdk
|
||||
except:
|
||||
return False
|
||||
return Gdk.WINDOWING == "quartz"
|
||||
return Gdk.Display.get_default().__class__.__name__.endswith("quartzDisplay")
|
||||
return False
|
||||
|
||||
def has_display():
|
||||
|
Loading…
Reference in New Issue
Block a user