grabHelper: Remove unused parameters

Some left-overs from commit b203a95a7 ...

https://bugzilla.gnome.org/show_bug.cgi?id=683546
This commit is contained in:
Florian Müllner 2012-09-15 22:41:18 +02:00
parent f6645a41d2
commit ff31ccdd30

View File

@ -160,7 +160,7 @@ const GrabHelper = new Lang.Class({
this._grabStack.push(params);
if (params.modal)
this._takeModalGrab(hadFocus);
this._takeModalGrab();
if (params.grabFocus)
this._takeFocusGrab(hadFocus);
@ -171,7 +171,7 @@ const GrabHelper = new Lang.Class({
return true;
},
_takeModalGrab: function(hadFocus) {
_takeModalGrab: function() {
let firstGrab = (this._modalCount == 0);
this._modalCount++;
if (!firstGrab)