openuriportal: Detect if the interface isn't there
authorMatthias Clasen <mclasen@redhat.com>
Thu, 13 Apr 2023 05:23:06 +0000 (07:23 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 07:17:39 +0000 (09:17 +0200)
commitd9fbcdb82e0df23e7a613f3739b4ea7e66aa9ad8
tree331fbb54598bd5a3247425b6259e01b69c7d496c
parent439dec9a54a1a73f67e7d76fbda7b813eb694b86
openuriportal: Detect if the interface isn't there

Check the portal version number before trying to use
it. Most importantly, this will detect the case where
the interface isn't supported at all, since the proxy
will report a version of 0 in that case.

Fixes: #5733
gtk/gtkopenuriportal.c