[gnome-documents] documents: Disconnect the handler from the correct instance



commit 20cce34879d51d31e730a685803eb8130254c7bd
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Feb 21 14:30:36 2014 +0100

    documents: Disconnect the handler from the correct instance
    
    Fallout from 78a41e8e9b8fc39aef7cc2d314f7cb9a625f492c
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723690

 src/documents.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 7c71f8c..11b295b 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -546,7 +546,7 @@ const DocCommon = new Lang.Class({
             this._collectionIconWatcher = null;
         }
 
-        Application.settings.disconnect(this._refreshIconId);
+        Application.application.disconnect(this._refreshIconId);
         Application.searchCategoryManager.disconnect(this._filterId);
     },
 


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