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:
parent
10914987a2
commit
eca8cd8449
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user