use new HandleEvent method of EventQueue
git-svn-id: svn://10.0.0.236/trunk@34197 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -296,7 +296,7 @@ main(int argc, char* argv[])
|
||||
#else
|
||||
PLEvent *gEvent;
|
||||
rv = gEventQ->GetEvent(&gEvent);
|
||||
PL_HandleEvent(gEvent);
|
||||
rv = gEventQ->HandleEvent(gEvent);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ main(int argc, char* argv[])
|
||||
{
|
||||
nsresult rv;
|
||||
|
||||
if (argc < 1) {
|
||||
if (argc < 2) {
|
||||
printf("usage: %s <host>\n", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
@@ -181,7 +181,7 @@ main(int argc, char* argv[])
|
||||
#else
|
||||
PLEvent *gEvent;
|
||||
rv = eventQ->GetEvent(&gEvent);
|
||||
PL_HandleEvent(gEvent);
|
||||
rv = eventQ->HandleEvent(gEvent);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -647,7 +647,7 @@ main(int argc, char* argv[])
|
||||
#else
|
||||
PLEvent *gEvent;
|
||||
rv = gEventQ->GetEvent(&gEvent);
|
||||
PL_HandleEvent(gEvent);
|
||||
rv = gEventQ->HandleEvent(gEvent);
|
||||
#endif /* XP_UNIX */
|
||||
#endif /* !WIN32 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user