XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com

git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-04-15 22:26:29 +00:00
parent 74861abc91
commit a17830dad4
28 changed files with 15 additions and 150 deletions

View File

@@ -2521,13 +2521,6 @@ void PR_CALLBACK scanimage_thread_routine( void * arg )
return;
}
rv = eventQService->CreateThreadEventQueue();
if (NS_FAILED(rv)) {
NS_ERROR("Unable to create new thread event queue!\n");
// Does this mean that an event queue is already at
// our disposal?
}
rv = eventQService->GetThreadEventQueue(pthis->mUIThread,
getter_AddRefs(eventQ));
if (NS_FAILED(rv)) {