backing out

This commit is contained in:
valeski%netscape.com 2000-08-10 06:51:30 +00:00
parent 0458b909bd
commit 376d8a682e

View File

@ -932,12 +932,7 @@ gtk_moz_embed_startup_xpcom(void)
{
nsresult rv;
// init our embedding
nsCOMPtr<nsILocalFile> binDir;
if (component_path) {
rv = NS_NewLocalFile(component_path, TRUE, getter_AddRefs(binDir));
if (NS_FAILED(rv)) return FALSE;
}
rv = NS_InitEmbedding(binDir, nsnull);
rv = NS_InitEmbedding(component_path);
if (NS_FAILED(rv))
return FALSE;
// set up the thread event queue