[Pkg-mozext-commits] [tabmixplus] 14/27: Services are not defined. Regression from changeset 3665f05a95d6

David Prévot taffit at moszumanska.debian.org
Fri Dec 26 01:04:30 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit b8bf9952f34e6428427f715637a5b2d6dad5963d
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Dec 4 20:35:21 2014 +0200

    Services are not defined. Regression from changeset 3665f05a95d6
---
 modules/extensions/CompatibilityCheck.jsm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/extensions/CompatibilityCheck.jsm b/modules/extensions/CompatibilityCheck.jsm
index 22644bc..888e754 100644
--- a/modules/extensions/CompatibilityCheck.jsm
+++ b/modules/extensions/CompatibilityCheck.jsm
@@ -30,8 +30,11 @@ const TMP_SHOW_CLOSED_WINDOW_LIST = 3;
 const TMP_DLG_SAVE = 0;
 const TMP_DLG_RENAME = 1;
 
-Cu.import("resource://tabmixplus/Services.jsm");
+Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 Cu.import("resource://gre/modules/AddonManager.jsm");
+Cu.import("resource://tabmixplus/Services.jsm");
+XPCOMUtils.defineLazyModuleGetter(this, "Services",
+  "resource://gre/modules/Services.jsm");
 
 var _initialized = false;
 

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



More information about the Pkg-mozext-commits mailing list