diff options
author | Thomas White <taw@physics.org> | 2020-08-25 11:42:21 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-25 12:31:32 +0200 |
commit | 30a11737e799faa335d049cc9018ada08cf3442e (patch) | |
tree | 4eddb2413ac29d26f05b6cfafa6fb829da7a859e /src/crystfel_gui.c | |
parent | 16d605d60a11b8513bb19829a6e3e851fa46c26a (diff) |
Final (?) version of backend API
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r-- | src/crystfel_gui.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index d9b9bec1..48c0777a 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -45,13 +45,10 @@ #include "crystfelimageview.h" #include "crystfelimageview.h" -#include "crystfel_gui.h" #include "gui_peaksearch.h" #include "gui_index.h" #include "gui_project.h" #include "version.h" -#include "gui_backend_local.h" -#include "gui_backend_slurm.h" static void show_help(const char *s) @@ -804,9 +801,6 @@ static void add_gui_message(enum log_msg_type type, const char *msg, } -const struct crystfel_backend *backends[16]; - - int main(int argc, char *argv[]) { int c; @@ -820,11 +814,6 @@ int main(int argc, char *argv[]) GtkWidget *toolbar; GtkWidget *button; - backends[0] = backend_local; - backends[1] = backend_slurm; - backends[2] = NULL; - /* Max 16 */ - /* Long options */ const struct option longopts[] = { {"help", 0, NULL, 'h'}, |