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/include/UI_interface.h | |
parent | 1da053956a920c34324917becbfe1455b929c824 (diff) |
Cleanup: Use const for context
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index c02b4da3599..5d936cdfaa3 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1715,7 +1715,7 @@ struct Panel *UI_panel_add_instanced(struct ScrArea *area, char *panel_idname, int list_index, struct PointerRNA *custom_data); -void UI_panels_free_instanced(struct bContext *C, struct ARegion *region); +void UI_panels_free_instanced(const struct bContext *C, struct ARegion *region); #define LIST_PANEL_UNIQUE_STR_LEN 4 void UI_list_panel_unique_str(struct Panel *panel, char *r_name); |