
A custom callback type is more convenient, but only as long as no other callback type is required. We are about to add functionality that does not return the filename to a screenshot saved on disk, so prepare for that by moving to GIO's generic async callback pattern. https://gitlab.gnome.org/GNOME/gnome-shell/issues/286