Don't need that gWebShell_UnixEventQueue anymore. Unix uses the event queue

service just like XP_PC


git-svn-id: svn://10.0.0.236/trunk@18382 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
radha%netscape.com
1999-01-23 00:50:08 +00:00
parent 4a0954c052
commit 155a723fc9

View File

@@ -393,20 +393,24 @@ void PR_CALLBACK ProxyEvent::DestroyPLEvent(PLEvent* aEvent)
delete ev;
}
/*
#if defined(XP_UNIX)
extern PLEventQueue* gWebShell_UnixEventQueue;
#endif
*/
void ProxyEvent::Fire(PLEventQueue* aEventQ)
{
PLEventQueue* eventQueue;
InitEvent();
#if defined(XP_PC)
#if defined(XP_PC) || defined (XP_UNIX)
NS_PRECONDITION(nsnull != aEventQ, "PLEventQueue for thread is null");
eventQueue = aEventQ;
/*
#elif defined(XP_UNIX)
eventQueue = gWebShell_UnixEventQueue;
*/
#endif
PL_PostEvent(eventQueue, this);