Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-02-18 01:42:20 +0300
committerHans Goudey <h.goudey@me.com>2021-02-18 01:42:20 +0300
commit5fef212e3185b23051da6889d4fe08645249d217 (patch)
tree274c816eb8a94d5dbb066d73804c20f26e5e254e /source/blender/editors/include
parentfd75f7c135747b6fb4e53a0a277ad432ec7bfa08 (diff)
Cleanup: Use const argument, decrease variable scope
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_interface.h2
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);