Sometimes a GIOFunc on Win32 is called with zero condition
Submitted by Tor Lillqvist
Link to original bug (#137968)
Description
Sometimes GLib calls the callback function set with g_io_add_watch() with the condition equalling zero. See the comments added today in bug #132113. This seems to happen only when you are moving one of GIMP's windows while it is talking to a plug-in, so presumably the Win32 code in gmain.c gets confused and calls also the callback for the plug-in's read pipe when it is notified that there is a Windows message waiting. Or something. Anyway, should be trivial to simply make sure that a callback isn't called with a zero condition, but it would be better to find the root cause why it even would want to do it, of course.
Version: 2.4.x