Fix for build error and misassignment related to recent XDG-Activation support
While trying to diagnose a GTK issue related to xdg-activation, I noticed a build error and a typo/misassignment related to commit 98c0ab76, I attach fixes for both.
CC @chpe