Merged requested to merge 1904-action-crashes into main
The action name, parameter and new state are all controlled by an external process, so can’t be trusted. Ensure they are validated before being passed to functions which assert that they are correctly typed and extant.
Add unit tests.
Signed-off-by: Philip Withnall firstname.lastname@example.org
Closes #1904 (closed)
This is a whole series of commits which make similar changes to all the places where
GActions are externally triggered. New unit tests cover everything.