workspacesView: dispose _scrollAdjustment in _onDestroy

https://bugzilla.gnome.org/show_bug.cgi?id=640781
This commit is contained in:
Maxim Ermilov 2011-01-28 05:41:57 +03:00
parent 8ebdb7f493
commit 457c7adf59

View File

@ -476,6 +476,7 @@ WorkspacesView.prototype = {
}, },
_onDestroy: function() { _onDestroy: function() {
this._scrollAdjustment.run_dispose();
Main.overview.disconnect(this._overviewShowingId); Main.overview.disconnect(this._overviewShowingId);
global.window_manager.disconnect(this._switchWorkspaceNotifyId); global.window_manager.disconnect(this._switchWorkspaceNotifyId);
global.screen.disconnect(this._restackedNotifyId); global.screen.disconnect(this._restackedNotifyId);