Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-09-11 22:26:05 +0300
committerHans Goudey <h.goudey@me.com>2020-09-11 22:26:05 +0300
commita69ddea29d50baef08380faed087483725c2bc1a (patch)
treedc2a451398e28e0b61252c53089c40f66673d1df /source
parenta55093711644f1a87eb058d2bed20d530a4de155 (diff)
Cleanup: Remove unused variables and function
Somehow these changes were lost while pulling the previous commit from the property-search-ui-v2 branch.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_buttons/buttons_context.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c
index 9228853ed19..84a020a9ed7 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -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;