trivial: Port to GApplication API from git master