environment: Fix runtime crash due to GTK+ change
As Gdk.Device.get_state() does not work properly from Javascript, we used to block it in the environment. The method now has been annotated with (skip), causing shell to crash on startup as only existing methods may be blocked. Just remove the block in question, as the annotation prevents the use of that method anyway.
This commit is contained in:
parent
450291b856
commit
1dd35b7d08
@ -88,8 +88,6 @@ function init() {
|
||||
|
||||
_blockMethod('Clutter.Event.get_state', 'Shell.get_event_state',
|
||||
'gjs\'s handling of Clutter.ModifierType is broken. See bug 597292.');
|
||||
_blockMethod('Gdk.Device.get_state', 'global.get_pointer',
|
||||
'gjs\'s handling of Gdk.ModifierType is broken. See bug 597292.');
|
||||
_blockMethod('Gdk.Window.get_device_position', 'global.get_pointer',
|
||||
'gjs\'s handling of Gdk.ModifierType is broken. See bug 597292.');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user