diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-18 01:42:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-18 01:42:20 +0300 |
commit | 5fef212e3185b23051da6889d4fe08645249d217 (patch) | |
tree | 274c816eb8a94d5dbb066d73804c20f26e5e254e /source/blender/editors/include/UI_interface.h | |
parent | fd75f7c135747b6fb4e53a0a277ad432ec7bfa08 (diff) |
Cleanup: Use const argument, decrease variable scope
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 67cd4f020be..75100326fac 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1411,7 +1411,7 @@ enum { UI_TEMPLATE_ID_FILTER_AVAILABLE = 1, }; -int UI_icon_from_id(struct ID *id); +int UI_icon_from_id(const struct ID *id); int UI_icon_from_report_type(int type); int UI_icon_colorid_from_report_type(int type); int UI_text_colorid_from_report_type(int type); |