And fix its declaration.
Split the screenshot functionality from ShellGlobal into its own class. https://bugzilla.gnome.org/show_bug.cgi?id=670086