Cleanup: Remove unused UI handlers function

Unused after c402b3f52f
This commit is contained in:
2023-03-12 17:33:23 -04:00
parent 68ec41d00e
commit 050e08e5f0

View File

@@ -8741,15 +8741,6 @@ static uiBut *ui_context_button_active(const ARegion *region, bool (*but_check_c
return but_found;
}
static bool ui_context_rna_button_active_test(const uiBut *but)
{
return (but->rnapoin.data != nullptr);
}
static uiBut *ui_context_rna_button_active(const bContext *C)
{
return ui_context_button_active(CTX_wm_region(C), ui_context_rna_button_active_test);
}
uiBut *UI_context_active_but_get(const bContext *C)
{
return ui_context_button_active(CTX_wm_region(C), nullptr);