[Pkg-mozext-commits] [firetray] 07/09: deprecation cleaning
David Prévot
taffit at alioth.debian.org
Wed Nov 6 22:03:56 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch dfsg-clean
in repository firetray.
commit 402eb46c38d2cec9730c77d29f479f73ff439e09
Author: foudfou <foudil.newbie+git at gmail.com>
Date: Mon Nov 4 21:23:50 2013 +0100
deprecation cleaning
---
src/modules/FiretrayMessaging.jsm | 2 +-
src/modules/PrefListener.jsm | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/modules/FiretrayMessaging.jsm b/src/modules/FiretrayMessaging.jsm
index d364601..dcb1d1f 100644
--- a/src/modules/FiretrayMessaging.jsm
+++ b/src/modules/FiretrayMessaging.jsm
@@ -6,8 +6,8 @@ const Cc = Components.classes;
const Ci = Components.interfaces;
const Cu = Components.utils;
+Cu.import("resource:///modules/iteratorUtils.jsm");
Cu.import("resource:///modules/mailServices.js");
-Cu.import("resource://gre/modules/iteratorUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/PluralForm.jsm");
Cu.import("resource://firetray/commons.js");
diff --git a/src/modules/PrefListener.jsm b/src/modules/PrefListener.jsm
index b688a91..3f852b6 100644
--- a/src/modules/PrefListener.jsm
+++ b/src/modules/PrefListener.jsm
@@ -22,8 +22,6 @@ function PrefListener(branch_name, callback) {
.getService(Components.interfaces.nsIPrefService);
this._branch = prefService.getBranch(branch_name);
this._branch.QueryInterface(Ci.nsIPrefBranch);
- if (!this._branch.addObserver)
- this._branch.QueryInterface(Ci.nsIPrefBranch2); // deprecated in Gecko 13.0
this._callback = callback;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git
More information about the Pkg-mozext-commits
mailing list