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



commit 3bf2959cf8d9895775f630e3c2a619195b76a2ca
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 96f0e3a..45920a5 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -549,7 +549,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]