Fixing bugs related to the widget atom.

This commit is contained in:
hyatt%netscape.com 1999-01-21 09:25:40 +00:00
parent d4ca80e530
commit 4672f50061
2 changed files with 4 additions and 2 deletions

View File

@ -58,7 +58,7 @@ void nsXULAtoms::AddrefAtoms() {
toolbar = NS_NewAtom("toolbar");
toolbox = NS_NewAtom("toolbox");
tree = NS_NewAtom("tree");
window = NS_NewAtom("widget");
widget = NS_NewAtom("widget");
window = NS_NewAtom("window");
}
++gRefCnt;
@ -75,6 +75,7 @@ void nsXULAtoms::ReleaseAtoms() {
NS_RELEASE(toolbar);
NS_RELEASE(toolbox);
NS_RELEASE(tree);
NS_RELEASE(widget);
NS_RELEASE(window);
NS_IF_RELEASE(gNameSpaceManager);
}

View File

@ -58,7 +58,7 @@ void nsXULAtoms::AddrefAtoms() {
toolbar = NS_NewAtom("toolbar");
toolbox = NS_NewAtom("toolbox");
tree = NS_NewAtom("tree");
window = NS_NewAtom("widget");
widget = NS_NewAtom("widget");
window = NS_NewAtom("window");
}
++gRefCnt;
@ -75,6 +75,7 @@ void nsXULAtoms::ReleaseAtoms() {
NS_RELEASE(toolbar);
NS_RELEASE(toolbox);
NS_RELEASE(tree);
NS_RELEASE(widget);
NS_RELEASE(window);
NS_IF_RELEASE(gNameSpaceManager);
}