diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_project.c | 4 | ||||
-rw-r--r-- | src/gui_project.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gui_project.c b/src/gui_project.c index 4a4cff83..fe2f72c0 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -795,8 +795,8 @@ static void update_result_index(struct gui_result *result) } -static struct gui_result *find_result_by_name(struct crystfelproject *proj, - const char *name) +struct gui_result *find_result_by_name(struct crystfelproject *proj, + const char *name) { int i; diff --git a/src/gui_project.h b/src/gui_project.h index 0e4c9859..8a3af512 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -231,4 +231,7 @@ extern struct image *find_result(struct crystfelproject *proj, const char *filename, const char *event); +extern struct gui_result *find_result_by_name(struct crystfelproject *proj, + const char *name); + #endif |