Mercurial > dwindows
comparison gtk3/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 |
---|---|
7484 | 7484 |
7485 if(eve->posted) | 7485 if(eve->posted) |
7486 return DW_ERROR_GENERAL; | 7486 return DW_ERROR_GENERAL; |
7487 | 7487 |
7488 pthread_mutex_lock (&(eve->mutex)); | 7488 pthread_mutex_lock (&(eve->mutex)); |
7489 if(time != -1) | 7489 if(timeout != -1) |
7490 { | 7490 { |
7491 struct timeval now; | 7491 struct timeval now; |
7492 struct timespec timeo; | 7492 struct timespec timeo; |
7493 | 7493 |
7494 gettimeofday(&now, 0); | 7494 gettimeofday(&now, 0); |