code cleanup: use const events for modal and invoke operators.
[blender.git] / source / blender / editors / space_clip / clip_dopesheet_ops.c
index d914cd2e04f53fe7abb18c487054944884ed80fd..e5cd7247c437b04d6b12aa9a89d9f6466b81d87f 100644 (file)
@@ -127,7 +127,7 @@ static int dopesheet_select_channel_exec(bContext *C, wmOperator *op)
        return OPERATOR_FINISHED;
 }
 
-static int dopesheet_select_channel_invoke(bContext *C, wmOperator *op, wmEvent *event)
+static int dopesheet_select_channel_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 {
        ARegion *ar = CTX_wm_region(C);
        float location[2];