window-manager: Fix variable name

In _shouldAnimate() _animationBlockCount was referred to as
_animationsBlocked, fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=662394
This commit is contained in:
fry 2011-10-24 11:39:01 +02:00 committed by Florian Müllner
parent 2b6c5bb416
commit b71e66c335

View File

@ -160,7 +160,7 @@ WindowManager.prototype = {
},
_shouldAnimate : function(actor) {
if (Main.overview.visible || this._animationsBlocked > 0)
if (Main.overview.visible || this._animationBlockCount > 0)
return false;
if (actor && (actor.meta_window.get_window_type() != Meta.WindowType.NORMAL))
return false;