inspector: fix crash caused by uninitialized GVariant
authorNelson Benítez León <nbenitezl@gmail.com>
Thu, 6 Apr 2023 22:45:59 +0000 (18:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 07:07:21 +0000 (09:07 +0200)
commitfa4af025317fde20217c9d2bc5fbfadbe06961fc
treed55c8917eb2c0242f0166f77a2d9118ba40c74ea
parent2e8a32db262724d74fcb50e831e0e447c11a7947
inspector: fix crash caused by uninitialized GVariant

we were not checking the return gboolean of
gtk_action_muxer_query_action() which was
returning FALSE for the crash case, meaning
it didn't set the passed in GVariant, but
we were still using it as it was non-null.

Fixes #5729
gtk/inspector/actions.c