Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / editors / interface / interface_regions.c
index d117a7f4e6e50be2e7b137449ed6c24cb0209875..58c3c0130b8d4bc96f4e5ca9b8695e8a531520ea 100644 (file)
@@ -2603,7 +2603,7 @@ void uiPupBlock(bContext *C, uiBlockCreateFunc func, void *arg)
        uiPupBlockO(C, func, arg, NULL, 0);
 }
 
-void uiPupBlockEx(bContext *C, uiBlockCreateFunc func, uiBlockCancelFunc cancel_func, void *arg)
+void uiPupBlockEx(bContext *C, uiBlockCreateFunc func, uiBlockHandleFunc popup_func, uiBlockCancelFunc cancel_func, void *arg)
 {
        wmWindow *window= CTX_wm_window(C);
        uiPopupBlockHandle *handle;
@@ -2613,7 +2613,7 @@ void uiPupBlockEx(bContext *C, uiBlockCreateFunc func, uiBlockCancelFunc cancel_
        handle->retvalue= 1;
 
        handle->popup_arg= arg;
-       // handle->popup_func= operator_cb;
+       handle->popup_func= popup_func;
        handle->cancel_func= cancel_func;
        // handle->opcontext= opcontext;