removed G_IO_IN condition