diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-03 00:59:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-03 00:59:00 +0400 |
commit | 0c004723fe60fa93947d9c7ca4ec119a30a32372 (patch) | |
tree | fd438ef48fe10ddf2a17a8f929ded3edd1e05d56 /source/blender/editors/include | |
parent | c5ed6765b9c46630579be5e43cab74965f0be9da (diff) |
fix [#35434] Segmentation fault switching screen layout from python
(take 2), only free popup handlers.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index a602fd27222..e64a5a4af57 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -687,6 +687,7 @@ void uiScalePanels(struct ARegion *ar, float new_width); void UI_add_region_handlers(struct ListBase *handlers); void UI_add_popup_handlers(struct bContext *C, struct ListBase *handlers, uiPopupBlockHandle *popup); void UI_remove_popup_handlers(struct ListBase *handlers, uiPopupBlockHandle *popup); +void UI_remove_popup_handlers_all(struct bContext *C, struct ListBase *handlers); /* Module * |