format = *var_get_print_format (var);
psppire_var_type_dialog_run (GTK_WINDOW (toplevel), &format);
- var_set_width (var, fmt_var_width (&format));
- var_set_both_formats (var, &format);
+
+ var_set_width_and_formats (var, fmt_var_width (&format), &format, &format);
}
static void
}
static void
-on_var_changed (PsppireDict *dict, glong row, PsppireVarSheet *var_sheet)
+on_var_changed (PsppireDict *dict, glong row,
+ guint what, const struct variable *oldvar,
+ PsppireVarSheet *var_sheet)
{
PsppireEmptyListStore *store;