From 78a7d5cfccdc09293acd97e789d60bfd806910c5 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Tue, 1 Nov 2022 17:36:36 +0100 Subject: UI: Support C defined menu types to listen to notifiers Needed to dynamically load assets as menu items, see cf985180551d and 99e5024e97f1. The next commit will add the listener for the node add menu. --- source/blender/editors/interface/views/interface_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/interface/views/interface_view.cc') diff --git a/source/blender/editors/interface/views/interface_view.cc b/source/blender/editors/interface/views/interface_view.cc index c568a8cab74..71974b4d2f9 100644 --- a/source/blender/editors/interface/views/interface_view.cc +++ b/source/blender/editors/interface/views/interface_view.cc @@ -81,7 +81,7 @@ void ui_block_free_views(uiBlock *block) } } -void UI_block_views_listen(const uiBlock *block, const wmRegionListenerParams *listener_params) +void ui_block_views_listen(const uiBlock *block, const wmRegionListenerParams *listener_params) { ARegion *region = listener_params->region; -- cgit v1.2.3