adjust to gtk changes