diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-04 22:30:59 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-04 22:30:59 +0300 |
commit | eca8cd8449bcb7358a913e6db4a517173dc40311 (patch) | |
tree | f193170517b15bb4c37c6a169ffa6eaa2c9acb91 /source/blender/editors/interface | |
parent | 10914987a2d8652100a385b352ff3d4bb27e24d1 (diff) |
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.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_button_group.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_button_group.c b/source/blender/editors/interface/interface_button_group.c index 2d2da9a4d14..90479eaee94 100644 --- a/source/blender/editors/interface/interface_button_group.c +++ b/source/blender/editors/interface/interface_button_group.c @@ -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) { |