From 61afbf55f1b12bf0b173175eb0fa097d6a8d33cd Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 5 Jul 2021 14:52:21 -0500 Subject: Cleanup: Use enum for UI block emboss type --- source/blender/editors/include/UI_interface.h | 2 +- source/blender/editors/interface/interface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 7a8c14d0a35..61daaa7d375 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -663,7 +663,7 @@ enum { UI_BLOCK_THEME_STYLE_POPUP = 1, }; void UI_block_theme_style_set(uiBlock *block, char theme_style); -char UI_block_emboss_get(uiBlock *block); +eUIEmbossType UI_block_emboss_get(uiBlock *block); void UI_block_emboss_set(uiBlock *block, eUIEmbossType emboss); bool UI_block_is_search_only(const uiBlock *block); void UI_block_set_search_only(uiBlock *block, bool search_only); diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index e9784a59d70..d3b74c91e86 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -3542,7 +3542,7 @@ uiBlock *UI_block_begin(const bContext *C, ARegion *region, const char *name, eU return block; } -char UI_block_emboss_get(uiBlock *block) +eUIEmbossType UI_block_emboss_get(uiBlock *block) { return block->emboss; } -- cgit v1.2.3