GIOCondition is a bit field
Use bitwise AND instead of equality checks when processing a
GIOCondition value passed to a GIOChannel callback since it may be a
bitwise combination of multiple enum values (e.g. G_IO_OUT | G_IO_ERR).
Frank Zschockelt <lm@freakysoft.de>Mikael Berthe <mikael@lilotux.net>