g_variant_compare() returns 0 when the values are equal, and non-zero otherwise, which is the opposite of what the check wants. Also, it is valid for the login history variant to be null, when the library is working with an older daemon. Don't emit a critical in that case.
Created attachment 71736 [details] [review] Patch Ghgh, git-bz is not working...
pushed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.