Skip to content

Commit

Permalink
Merge pull request #3 from tsujan/master
Browse files Browse the repository at this point in the history
Fix for "TypeError actor.set_scale is not a function"
  • Loading branch information
mengzhuo committed Oct 28, 2012
2 parents 8d4bde2 + 115a3f6 commit ce07b97
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions extension.js
Expand Up @@ -16,8 +16,6 @@ const ScaleInForWindow = new Lang.Class({
this.display = global.screen.get_display();

this.signalConnectID = this.display.connect('window-created', Lang.bind(this, this._scaleIn));
this.afterSignalConnectID = this.display.connect_after('window-created', Lang.bind(this, this._animationDone));
//try to fixed Chromium and Updatemanager Bug

global._scale_in_aminator = this;

Expand Down Expand Up @@ -59,7 +57,6 @@ const ScaleInForWindow = new Lang.Class({
destroy: function (){
delete global._scale_in_aminator;
this.display.disconnect(this.signalConnectID);
this.display.disconnect(this.afterSignalConnectID);
},
_onDestroy : function (){
this.destroy();
Expand Down

0 comments on commit ce07b97

Please sign in to comment.