Philip Withnall 32c1437a20 gfdonotificationbackend: Validate actions before activating them
These actions are activated as a result of receiving the `ActionInvoked`
signal from `org.freedesktop.Notifications`. As that’s received from
another process over D-Bus, it’s feasible that it could be malformed.
Without validating the action and its parameter, assertions will be hit
within the `GAction` code.

While we should be able to trust whatever process owns
`org.freedesktop.Notifications`, it’s possible that’s not the case, so
best validate what we receive.

Includes unit tests.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #1904
2022-12-08 14:46:47 +00:00
..
2022-06-17 08:49:03 -05:00
2022-06-23 10:46:45 +01:00
2022-05-18 14:01:43 +00:00
2022-08-05 16:02:09 -05:00
2022-06-09 17:08:42 +02:00
2022-06-23 10:46:45 +01:00