aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index 252e63ab..066422a3 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -1372,31 +1372,6 @@ char *get_crystfel_path_str()
}
-char *get_crystfel_exe(const char *program)
-{
- GFile *crystfel_path;
- char *exe_path;
- GFile *exe;
-
- crystfel_path = get_crystfel_path_gfile();
- if ( crystfel_path == NULL ) return NULL;
-
- exe = g_file_get_child(crystfel_path, program);
- if ( exe == NULL ) {
- ERROR("Couldn't determine executable path. "
- "This is OK provided the executable "
- "path is set correctly.\n");
- exe_path = strdup(program);
- } else {
- exe_path = g_file_get_path(exe);
- g_object_unref(exe);
- }
- g_object_unref(crystfel_path);
-
- return exe_path;
-}
-
-
struct gui_job_notes_page *add_job_notes_page(GtkWidget *notebook)
{
GtkWidget *box;