Bug 343835: redeclaration of const XULAPPINFO_CONTRACTID; p=C�dric "chewey" Menge <bugzilla@mengemail.de>, r=silver

This commit is contained in:
mnyromyr%tprac.de 2006-09-08 18:11:05 +00:00
Родитель 0d0f6951df
Коммит c6636d3b4d
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -43,11 +43,10 @@ function start_venkman()
toOpenWindowByType("mozapp:venkman", "chrome://venkman/content/venkman.xul");
}
const XULAPPINFO_CONTRACTID = "@mozilla.org/xre/app-info;1";
const nsIXULAppInfo = Components.interfaces.nsIXULAppInfo;
function isThunderbird()
{
const XULAPPINFO_CONTRACTID = "@mozilla.org/xre/app-info;1";
const nsIXULAppInfo = Components.interfaces.nsIXULAppInfo;
var cls = Components.classes[XULAPPINFO_CONTRACTID];
if (!cls)
return false;