From 5fef212e3185b23051da6889d4fe08645249d217 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 17 Feb 2021 16:42:20 -0600 Subject: Cleanup: Use const argument, decrease variable scope --- source/blender/editors/include/UI_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include') 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); -- cgit v1.2.3