We can't use GTK+ for accelerator parsing under Wayland, since we don't want to go through Xwayland to make that happen.
We're currently using GTK+ for this, but we'll stop doing that fairly quickly and instead just copy the GTK+ code in-tree.