PsppireDict *dict = NULL;
g_object_get (var_sheet, "data-model", &dict, NULL);
- int n_rows = psppire_dict_get_var_cnt (dict);
+ int n_rows = psppire_dict_get_n_vars (dict);
if (row > n_rows)
return;
case DICT_TVM_COL_NAME:
{
const char *name = g_value_get_string (value);
- if (psppire_dict_check_name (dict, name, FALSE))
+ if (psppire_dict_check_name (dict, name))
dict_rename_var (dict->dict, var, g_value_get_string (value));
}
break;