If the event fired, assign f->revents=f->events. We can't know whether the
authorTor Lillqvist <tml@novell.com>
Tue, 29 Mar 2005 08:00:53 +0000 (08:00 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 29 Mar 2005 08:00:53 +0000 (08:00 +0000)
commit52013430a449538daf94dde97a627a8583885910
tree591fcb8fc28b7b3cb608ad8bb1085cd52367f7ef
parent8e9a4d50df6e690b412f91fa98a9ddf1e88115f4
If the event fired, assign f->revents=f->events. We can't know whether the

2005-03-29  Tor Lillqvist  <tml@novell.com>

* glib/gmain.c (g_poll): If the event fired, assign
f->revents=f->events. We can't know whether the upper layer using
the event actually is readable, writeable or what, so say that all
the conditions hold. Remove the ResetEvent() call that has been
ifdeffed out anyway for a long time. Remove an "#ifdef 1" and
#endif pair of lines, that code is not optional.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gmain.c