[gnome-shell] workspacesView: dispose _scrollAdjustment in _onDestroy



commit 457c7adf59cde30b01118f4707569ac1bceff0c5
Author: Maxim Ermilov <zaspire rambler ru>
Date:   Fri Jan 28 05:41:57 2011 +0300

    workspacesView: dispose _scrollAdjustment in _onDestroy
    
    https://bugzilla.gnome.org/show_bug.cgi?id=640781

 js/ui/workspacesView.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 5f95a88..f53db7a 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -476,6 +476,7 @@ WorkspacesView.prototype = {
     },
 
     _onDestroy: function() {
+        this._scrollAdjustment.run_dispose();
         Main.overview.disconnect(this._overviewShowingId);
         global.window_manager.disconnect(this._switchWorkspaceNotifyId);
         global.screen.disconnect(this._restackedNotifyId);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]