diff options
author | Hans Goudey <h.goudey@me.com> | 2021-04-29 00:58:43 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-04-29 00:58:43 +0300 |
commit | 38ebac86cc28e53d7640dcc8ce3bc4edbb8f2a1b (patch) | |
tree | 11925959ec0f0351af01cc9f9723a6e9721932da /source/blender/editors/interface/interface_layout.c | |
parent | 5cb1e18f72077dcb9608a9ec8360caea70fbf329 (diff) |
Cleanup: Use const argument for context
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index cabd98902a6..8f2871ce18b 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -3038,7 +3038,7 @@ void uiItemDecoratorR(uiLayout *layout, PointerRNA *ptr, const char *propname, i /* popover */ void uiItemPopoverPanel_ptr( - uiLayout *layout, bContext *C, PanelType *pt, const char *name, int icon) + uiLayout *layout, const bContext *C, PanelType *pt, const char *name, int icon) { if (!name) { name = CTX_IFACE_(pt->translation_context, pt->label); @@ -3067,7 +3067,7 @@ void uiItemPopoverPanel_ptr( } void uiItemPopoverPanel( - uiLayout *layout, bContext *C, const char *panel_type, const char *name, int icon) + uiLayout *layout, const bContext *C, const char *panel_type, const char *name, int icon) { PanelType *pt = WM_paneltype_find(panel_type, true); if (pt == NULL) { |