aboutsummaryrefslogtreecommitdiff
path: root/src/gui_merge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_merge.c')
-rw-r--r--src/gui_merge.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui_merge.c b/src/gui_merge.c
index 096a6ad1..971f49fc 100644
--- a/src/gui_merge.c
+++ b/src/gui_merge.c
@@ -42,6 +42,7 @@
#include "gui_project.h"
#include "crystfel_gui.h"
#include "crystfelmergeopts.h"
+#include "gtk-util-routines.h"
struct new_merging_job_params {
@@ -55,20 +56,6 @@ struct new_merging_job_params {
};
-static char *get_all_text(GtkTextView *view)
-{
- GtkTextBuffer *buf;
- GtkTextIter start, end;
-
- buf = gtk_text_view_get_buffer(view);
-
- gtk_text_buffer_get_start_iter(buf, &start);
- gtk_text_buffer_get_end_iter(buf, &end);
-
- return gtk_text_buffer_get_text(buf, &start, &end, FALSE);
-}
-
-
static void free_new_merging_job_params(gpointer njp, GClosure *closure)
{
free(njp);