Cleanup: Remove unused variables and function

Somehow these changes were lost while pulling the previous commit from
the property-search-ui-v2 branch.
This commit is contained in:
Hans Goudey 2020-09-11 14:26:05 -05:00
parent a550937116
commit a69ddea29d
1 changed files with 0 additions and 16 deletions

View File

@ -1115,27 +1115,11 @@ int buttons_context(const bContext *C, const char *member, bContextDataResult *r
/************************* Drawing the Path ************************/
static void pin_cb(bContext *C, void *UNUSED(arg1), void *UNUSED(arg2))
{
SpaceProperties *sbuts = CTX_wm_space_properties(C);
if (sbuts->flag & SB_PIN_CONTEXT) {
sbuts->pinid = buttons_context_id_path(C);
}
else {
sbuts->pinid = NULL;
}
ED_area_tag_redraw(CTX_wm_area(C));
}
void buttons_context_draw(const bContext *C, uiLayout *layout)
{
SpaceProperties *sbuts = CTX_wm_space_properties(C);
ButsContextPath *path = sbuts->path;
uiLayout *row, *sub;
uiBlock *block;
uiBut *but;
PointerRNA *ptr;
char namebuf[128], *name;
int a, icon;