#include <config.h>
+#include "page-separators.h"
+
#include "ui/gui/text-data-import-dialog.h"
#include <errno.h>
p->page = add_page_to_assistant (ia, get_widget_assert (builder, "Separators"),
GTK_ASSISTANT_PAGE_CONTENT);
+
p->custom_cb = get_widget_assert (builder, "custom-cb");
p->custom_entry = get_widget_assert (builder, "custom-entry");
p->quote_combo = get_widget_assert (builder, "quote-combo");
static void
choose_column_names (struct import_assistant *ia)
{
- const struct first_line_page *f = ia->first_line;
struct dictionary *dict;
unsigned long int generated_name_count = 0;
struct column *col;
size_t name_row;
dict = dict_create (get_default_encoding ());
- name_row = f->variable_names && f->skip_lines ? f->skip_lines : 0;
+ name_row = ia->variable_names && ia->skip_lines ? ia->skip_lines : 0;
for (col = ia->columns; col < &ia->columns[ia->column_cnt]; col++)
{
char *hint, *name;