diff options
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index b04291b7ab4..007a9105c76 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -166,11 +166,6 @@ static void buttons_main_region_init(wmWindowManager *wm, ARegion *region) /** \name Property Editor Layout * \{ */ -/** - * Fills an array with the tab context values for the properties editor. -1 signals a separator. - * - * \return The total number of items in the array returned. - */ int ED_buttons_tabs_list(SpaceProperties *sbuts, short *context_tabs_array) { int length = 0; @@ -445,7 +440,7 @@ static void property_search_all_tabs(const bContext *C, i, property_search_for_context(C, region_copy, &sbuts_copy)); - UI_blocklist_free(C, ®ion_copy->uiblocks); + UI_blocklist_free(C, region_copy); } BKE_area_region_free(area_copy.type, region_copy); @@ -924,7 +919,6 @@ static void buttons_id_remap(ScrArea *UNUSED(area), SpaceLink *slink, ID *old_id /** \name Space Type Initialization * \{ */ -/* only called once, from space/spacetypes.c */ void ED_spacetype_buttons(void) { SpaceType *st = MEM_callocN(sizeof(SpaceType), "spacetype buttons"); |