Commit fc11d5ce authored by Javier Hernández's avatar Javier Hernández

quick select: fix inspect accessible under mouse

parent d8fe42ad
......@@ -73,7 +73,7 @@ class QuickSelect(Plugin):
'''
Inspect accessible of widget under mouse.
'''
display = gdk.Display(gdk.get_display())
display = gdk.Display.get_default()
screen, x, y, flags = display.get_pointer()
del screen # A workaround http://bugzilla.gnome.org/show_bug.cgi?id=593732
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment