Changelog:
r44086 | compyx | 2023-06-22 07:57:28 +0000 (Thu, 22 Jun 2023) | 2 lines
Gtk3: Fix mixing up unit number and drive number in action data params
------------------------------------------------------------------------
r44084 | gpz | 2023-06-21 20:07:13 +0000 (Wed, 21 Jun 2023) | 1 line
codestyle
------------------------------------------------------------------------
r44081 | compyx | 2023-06-21 13:39:09 +0000 (Wed, 21 Jun 2023) | 2 lines
UI actions: actually make setting the "dispatch handler" optional =)
------------------------------------------------------------------------
r44080 | compyx | 2023-06-21 12:26:25 +0000 (Wed, 21 Jun 2023) | 2 lines
main_init_hack(): don't touch FileSytemDeviceX resources in vsid
------------------------------------------------------------------------
r44077 | compyx | 2023-06-21 07:26:03 +0000 (Wed, 21 Jun 2023) | 11 lines
UI actions: add optional parameter for action handlers
Add `param` field to UI action maps so closely related actions can share a
handler. The prototype of an action handler is now `void handler(void *param)`,
where the `param` is constant for an action ID and set during registration of
the handler.
Also make the action dispatch handler optional: if the dispatch handler isn't
set with `ui_actions_set_dispatch()` the UI actions system will call a handler
directly when `ui_action_trigger()` is called, from whatever thread the later
function is called on.
------------------------------------------------------------------------