treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp] / src / ui / gui / psppire-dialog-action-compute.c
index a77ea92dd72ebcddc54802bdb84206bcc8a2fce2..23c0108406cdae56c8fd02dad461ce9bb96c7845 100644 (file)
@@ -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);
     }