gproject, geanyproj: update to the latest API