treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp] / src / ui / gui / psppire-variable-sheet.c
index 859803f6122a10a445cdf6f74e20f27e6497b968..486d85c4ca2dd0aa37f1cf6526cc2dbd9ad5bb05 100644 (file)
@@ -325,7 +325,7 @@ change_var_property (PsppireVariableSheet *var_sheet, gint col, gint row, const
   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;