commit | 1e35abda9f9ad4510d19da6c14b1a50d6dc02c7d | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | Fri Dec 03 15:28:48 2010 -0300 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Tue Dec 07 22:57:22 2010 +0200 |
tree | fea68006f7dc01a4c448d4ed4e7b61fa13f0d9d1 | |
parent | 2fd7cb59148510c0c03a50537dc65fbfe7ec9dec [diff] |
Fix writing to GAttrib socket without POLLOUT event If the GIOChannel is in the buffered state (the default) the watch function is called without receiving a POLLOUT from the socket. GLib adds a G_IO_OUT condition just because there is space in the GIOChannel internal buffer. The solution is disabling the internal buffer, which in turn, makes the call of g_io_channel_flush() useless.