[gnome-shell] lookingGlass: Don't pass too many arguments to Clutter.ungrab_*
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] lookingGlass: Don't pass too many arguments to Clutter.ungrab_*
- Date: Fri, 3 Aug 2012 17:26:46 +0000 (UTC)
commit 66197b18b6e2b5237d0e11b855b38ba5a032bc0d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jul 24 15:11:17 2012 -0300
lookingGlass: Don't pass too many arguments to Clutter.ungrab_*
https://bugzilla.gnome.org/show_bug.cgi?id=680426
js/ui/lookingGlass.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index c90da55..ac89d43 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -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');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]