diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-18 03:24:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-18 03:24:14 +0300 |
commit | 1dda60792cc303ec81785d6a79926eed9a4da3d3 (patch) | |
tree | dde8200f426561b524a3e8526d6570aff879b1bb /source/blender/editors/interface/interface_utils.c | |
parent | cacd57b67a15e08bce3b1c9a136004516c593672 (diff) |
Cleanup: use 'UI_icon_*' prefix for icons API
- UI_collection_color_icon_get -> UI_icon_color_from_collection
- UI_idcode_icon_get -> UI_icon_from_idcode
- UI_library_icon_get -> UI_icon_from_library
- UI_mode_icon_get -> UI_icon_from_object_mode
- UI_rnaptr_icon_get -> UI_icon_from_rnaptr
- UI_alert_image -> UI_icon_alert_imbuf_get
- UI_preview_render_size -> UI_icon_preview_to_render_size
- UI_id_icon_render -> UI_icon_render_id
Diffstat (limited to 'source/blender/editors/interface/interface_utils.c')
-rw-r--r-- | source/blender/editors/interface/interface_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_utils.c b/source/blender/editors/interface/interface_utils.c index 7b72e380f5e..30538cc7050 100644 --- a/source/blender/editors/interface/interface_utils.c +++ b/source/blender/editors/interface/interface_utils.c @@ -486,7 +486,7 @@ void ui_rna_collection_search_update_fn(const struct bContext *C, * name prefix for showing the library status. */ int name_prefix_offset = cis->name_prefix_offset; if (!has_id_icon && cis->is_id && !requires_exact_data_name) { - cis->iconid = UI_library_icon_get(cis->data); + cis->iconid = UI_icon_from_library(cis->data); /* No need to re-allocate, string should be shorter than before (lib status prefix is * removed). */ BKE_id_full_name_ui_prefix_get(name_buf, cis->data, false, UI_SEP_CHAR, &name_prefix_offset); |