We already use it without checking (`<gio/gdesktopappinfo.h>` in wlr/taskbar), it's a transitive dependency of GTK and it's always available on Unix platforms.