Mercurial > dwindows
comparison gtk/dw.c @ 1156:03b6d9fdfac0
Fixed a typo on Unix... timeout not time.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 15 Sep 2011 03:20:14 +0000 |
parents | e6a2f57c0842 |
children | f86f556ff29d |
comparison
equal
deleted
inserted
replaced
1155:e6a2f57c0842 | 1156:03b6d9fdfac0 |
---|---|
8606 | 8606 |
8607 if(eve->posted) | 8607 if(eve->posted) |
8608 return DW_ERROR_GENERAL; | 8608 return DW_ERROR_GENERAL; |
8609 | 8609 |
8610 pthread_mutex_lock (&(eve->mutex)); | 8610 pthread_mutex_lock (&(eve->mutex)); |
8611 if(time != -1) | 8611 if(timeout != -1) |
8612 { | 8612 { |
8613 struct timeval now; | 8613 struct timeval now; |
8614 struct timespec timeo; | 8614 struct timespec timeo; |
8615 | 8615 |
8616 gettimeofday(&now, 0); | 8616 gettimeofday(&now, 0); |