From 6734936c13b379e299bfb45915a99b605ae450c6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 4 Jan 2014 18:08:43 +1100 Subject: RNA API: use bool's for enum itemf callbacks. --- source/blender/makesrna/intern/rna_ui_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/makesrna/intern/rna_ui_api.c') diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c index dcf51cdceaf..1bc70a76614 100644 --- a/source/blender/makesrna/intern/rna_ui_api.c +++ b/source/blender/makesrna/intern/rna_ui_api.c @@ -280,7 +280,7 @@ static const char *rna_ui_get_enum_name(bContext *C, PointerRNA *ptr, const char { PropertyRNA *prop = NULL; EnumPropertyItem *items = NULL, *item; - int free; + bool free; const char *name = ""; prop = RNA_struct_find_property(ptr, propname); @@ -311,7 +311,7 @@ static const char *rna_ui_get_enum_description(bContext *C, PointerRNA *ptr, con { PropertyRNA *prop = NULL; EnumPropertyItem *items = NULL, *item; - int free; + bool free; const char *desc = ""; prop = RNA_struct_find_property(ptr, propname); @@ -341,7 +341,7 @@ static int rna_ui_get_enum_icon(bContext *C, PointerRNA *ptr, const char *propna { PropertyRNA *prop = NULL; EnumPropertyItem *items = NULL, *item; - int free; + bool free; int icon = ICON_NONE; prop = RNA_struct_find_property(ptr, propname); -- cgit v1.2.3