Cleanup: Remove incorrect comment

This function for replacing a button pointer in button groups is
needed by the block update from old code, so it cannot be removed
like its layout equivalent.
This commit is contained in:
Hans Goudey 2020-11-04 13:30:59 -06:00
parent 10914987a2
commit eca8cd8449
1 changed files with 0 additions and 1 deletions

View File

@ -75,7 +75,6 @@ void ui_block_free_button_groups(uiBlock *block)
}
}
/* This function should be removed whenever #ui_layout_replace_but_ptr is removed. */
void ui_button_group_replace_but_ptr(uiBlock *block, const void *old_but_ptr, uiBut *new_but)
{
LISTBASE_FOREACH (uiButtonGroup *, button_group, &block->button_groups) {