[Pkg-mozext-commits] [itsalltext] 414/459: Removed nsIPrefBranch2 -> nsIPrefBranch

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit f4bca5081d344e043c63c7a00df70dc087aa81be
Author: Christian Höltje <docwhat at gerf.org>
Date:   Mon May 13 23:36:39 2013 -0400

    Removed nsIPrefBranch2 -> nsIPrefBranch
    
    nsIPrefBranch2 is deprecated and as of FF 13 everything
    is in nsIPrefBranch, so use this.
    
    This was a compatability warning in the AMO validations.
---
 src/chrome/content/itsalltext.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index 3f5f8c9..c22502b 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -130,7 +130,7 @@ var ItsAllText = function () {
                 getService(Components.interfaces.nsIPrefService),
             type;
             this.private_branch = prefService.getBranch("extensions." + that.MYSTRING + ".");
-            this.private_branch.QueryInterface(Components.interfaces.nsIPrefBranch2);
+            this.private_branch.QueryInterface(Components.interfaces.nsIPrefBranch);
             this.private_branch.addObserver("", this, false);
             /* setup the preferences */
             for (type in this.types) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list