diff options
author | Hans Goudey <h.goudey@me.com> | 2020-08-12 19:59:19 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-12 19:59:19 +0300 |
commit | 337b6d075880ea44ff5183804a387dc98673ffb9 (patch) | |
tree | f01bbd4390f4ff02eb0c29e156a2fd208c9554f5 /source/blender/editors/interface | |
parent | 1da053956a920c34324917becbfe1455b929c824 (diff) |
Cleanup: Use const for context
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 1b48ed8a7a1..d334007a097 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -372,7 +372,7 @@ static void panel_delete(const bContext *C, ARegion *region, ListBase *panels, P * \note Can be called with NULL \a C, but it should be avoided because * handlers might not be removed. */ -void UI_panels_free_instanced(bContext *C, ARegion *region) +void UI_panels_free_instanced(const bContext *C, ARegion *region) { /* Delete panels with the instanced flag. */ LISTBASE_FOREACH_MUTABLE (Panel *, panel, ®ion->panels) { |