aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 42df35e7..96c7117f 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -54,6 +54,7 @@
#include "gui_project.h"
#include "crystfel_gui.h"
#include "gui_peaksearch.h"
+#include "gtk-util-routines.h"
static GFile *get_crystfel_path_gfile()
{
@@ -219,20 +220,6 @@ struct new_index_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 index_all_response_sig(GtkWidget *dialog, gint resp,
struct new_index_job_params *njp)
{