psppire_import_assistant_new (GtkWindow *toplevel)
{
return GTK_WIDGET (g_object_new (PSPPIRE_TYPE_IMPORT_ASSISTANT,
- "transient-for", toplevel,
+ /* Some window managers (notably ratpoison)
+ ignore the maximise command when a window is
+ transient. This causes problems for this
+ window. */
+ /* "transient-for", toplevel, */
NULL));
}
bool ok;
struct substring field = ia->columns[column].contents[row];
- struct variable *var = dict_get_var (ia->dict, column);
+ const struct variable *var = dict_get_var (ia->dict, column);
union value val;
value_init (&val, var_get_width (var));
add_page_to_assistant (ia, w,
GTK_ASSISTANT_PAGE_CONFIRM, _("Adjust Variable Formats"));
- ia->data_tree_view = NULL;
ia->modified_vars = NULL;
ia->modified_var_cnt = 0;
}