Restore GiViewAdapter::setFlags.