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/include | |
parent | 5cb1e18f72077dcb9608a9ec8360caea70fbf329 (diff) |
Cleanup: Use const argument for context
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index bab7054a905..338b12f7985 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -2405,9 +2405,12 @@ void uiItemS_ex(uiLayout *layout, float factor); void uiItemSpacer(uiLayout *layout); void uiItemPopoverPanel_ptr( - uiLayout *layout, struct bContext *C, struct PanelType *pt, const char *name, int icon); -void uiItemPopoverPanel( - uiLayout *layout, struct bContext *C, const char *panel_type, const char *name, int icon); + uiLayout *layout, const struct bContext *C, struct PanelType *pt, const char *name, int icon); +void uiItemPopoverPanel(uiLayout *layout, + const struct bContext *C, + const char *panel_type, + const char *name, + int icon); void uiItemPopoverPanelFromGroup(uiLayout *layout, struct bContext *C, int space_id, |