X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-compute.c;h=23c0108406cdae56c8fd02dad461ce9bb96c7845;hb=339f1956cc72;hp=a77ea92dd72ebcddc54802bdb84206bcc8a2fce2;hpb=ff7ae14592cbdbebc4e4322424db95663ea7e166;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-compute.c b/src/ui/gui/psppire-dialog-action-compute.c index a77ea92dd7..23c0108406 100644 --- a/src/ui/gui/psppire-dialog-action-compute.c +++ b/src/ui/gui/psppire-dialog-action-compute.c @@ -159,7 +159,7 @@ function_list_populate (GtkTreeView *tv) GtkTreeIter iter; gint i; - const gint n_funcs = expr_get_function_cnt (); + const gint n_funcs = expr_get_n_functions (); liststore = gtk_list_store_new (3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT); @@ -172,7 +172,7 @@ function_list_populate (GtkTreeView *tv) gtk_list_store_set (liststore, &iter, COMPUTE_COL_NAME, expr_operation_get_name (op), COMPUTE_COL_USAGE, expr_operation_get_prototype (op), - COMPUTE_COL_ARITY, expr_operation_get_arg_cnt (op), + COMPUTE_COL_ARITY, expr_operation_get_n_args (op), -1); }