aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-08 12:03:00 +0200
committerThomas White <taw@physics.org>2020-09-08 16:16:48 +0200
commitc5abcd75f237c3fc03e13a9550404a3a391b31c6 (patch)
tree775cd12819b1eb2b7c512aa14bf5eb2a6659b8cb /src/gui_index.c
parent1501d5ff2d0eb6d485beed579d5e1051682d5cc5 (diff)
Just use project structure in backends
We have to pass the crystfelproject anyway, to add the new results to the list. It seems messy to pass everything else separately, when at this moment the values must be exactly what is in the project structure anyway.
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index d0790e4c..d11028b4 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -98,15 +98,8 @@ static int run_indexing_all(struct crystfelproject *proj,
void *job_priv;
be = &proj->backends[backend_idx];
- job_priv = be->run_indexing(job_title, job_notes,
- proj->filenames,
- proj->events,
- proj->n_frames,
- proj->geom_filename,
- &proj->peak_search_params,
- &proj->indexing_params,
- be->indexing_opts_priv,
- proj);
+ job_priv = be->run_indexing(job_title, job_notes, proj,
+ be->indexing_opts_priv);
if ( job_priv != NULL ) {
add_running_task(proj, "Indexing all frames",