X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-variable-sheet.c;h=486d85c4ca2dd0aa37f1cf6526cc2dbd9ad5bb05;hb=339f1956cc72;hp=859803f6122a10a445cdf6f74e20f27e6497b968;hpb=ff7ae14592cbdbebc4e4322424db95663ea7e166;p=pspp diff --git a/src/ui/gui/psppire-variable-sheet.c b/src/ui/gui/psppire-variable-sheet.c index 859803f612..486d85c4ca 100644 --- a/src/ui/gui/psppire-variable-sheet.c +++ b/src/ui/gui/psppire-variable-sheet.c @@ -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;