Replace FLAGS_NONE with literal 0 and remove Gio import