aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-12-11 14:21:49 +0100
committerThomas White <taw@physics.org>2020-12-11 14:21:49 +0100
commitd8672864f60291214b445f8a658c642086aab8bc (patch)
tree9bf951b5caa86dd88a366b00a4c33ce2a7812a03 /src/crystfel_gui.c
parente9b583b2c63d14e859223bce4b56afe3fe04815c (diff)
result -> indexing_result
Because shortly we will have merging_result as well
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index ad745d9c..6a88beb1 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -190,10 +190,10 @@ void update_imageview(struct crystfelproject *proj)
if ( strcmp(results_name, "crystfel-gui-internal") == 0 ) {
update_peaks(proj);
} else {
- struct image *res_im = find_result(proj,
- results_name,
- image->filename,
- image->ev);
+ struct image *res_im = find_indexed_image(proj,
+ results_name,
+ image->filename,
+ image->ev);
if ( res_im != NULL ) {
swap_data_arrays(image, res_im);
image_free(proj->cur_image);
@@ -439,7 +439,7 @@ static void finddata_response_sig(GtkWidget *dialog, gint resp,
if ( streams != NULL ) {
char *result_name = safe_basename(stream_filename);
streams[0] = strdup(stream_filename);
- add_result(proj, result_name, streams, 1);
+ add_indexing_result(proj, result_name, streams, 1);
select_result(proj, result_name);
}