lookingGlass: Don't pass too many arguments to Clutter.ungrab_*

https://bugzilla.gnome.org/show_bug.cgi?id=680426
This commit is contained in:
Jasper St. Pierre 2012-07-24 15:11:17 -03:00
parent ed991f79b1
commit 66197b18b6

View File

@ -555,8 +555,8 @@ const Inspector = new Lang.Class({
},
_close: function() {
Clutter.ungrab_pointer(this._eventHandler);
Clutter.ungrab_keyboard(this._eventHandler);
Clutter.ungrab_pointer();
Clutter.ungrab_keyboard();
this._eventHandler.destroy();
this._eventHandler = null;
this.emit('closed');