diff options
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index c7258e616fa..019ac33dfd0 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -303,7 +303,7 @@ static void minimize_stretch_exit(bContext *C, wmOperator *op, int cancel) if(sa) ED_area_headerprint(sa, NULL); if(ms->timer) - WM_event_remove_window_timer(CTX_wm_window(C), ms->timer); + WM_event_remove_timer(CTX_wm_manager(C), CTX_wm_window(C), ms->timer); if(cancel) param_flush_restore(ms->handle); @@ -343,7 +343,7 @@ static int minimize_stretch_invoke(bContext *C, wmOperator *op, wmEvent *event) ms= op->customdata; WM_event_add_modal_handler(C, op); - ms->timer= WM_event_add_window_timer(CTX_wm_window(C), TIMER, 0.01f); + ms->timer= WM_event_add_timer(CTX_wm_manager(C), CTX_wm_window(C), TIMER, 0.01f); return OPERATOR_RUNNING_MODAL; } |