Commit d7dc875d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

argh, get types from procedure->args, not procedure->values.

2006-03-28  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.c (procedural_db_arguments): argh, get
	types from procedure->args, not procedure->values.
parent 169faefb
2006-03-28 Michael Natterer <mitch@gimp.org>
* app/pdb/procedural_db.c (procedural_db_arguments): argh, get
types from procedure->args, not procedure->values.
2006-03-27 Michael Natterer <mitch@gimp.org>
 
* app/pdb/procedural_db.[ch]: renamed procedural_db_return_args()
......
......@@ -488,7 +488,7 @@ procedural_db_arguments (ProcRecord *procedure)
args = g_new0 (Argument, procedure->num_args);
for (i = 0; i < procedure->num_args; i++)
args[i].arg_type = procedure->values[i].arg_type;
args[i].arg_type = procedure->args[i].arg_type;
return args;
}
......
......@@ -488,7 +488,7 @@ procedural_db_arguments (ProcRecord *procedure)
args = g_new0 (Argument, procedure->num_args);
for (i = 0; i < procedure->num_args; i++)
args[i].arg_type = procedure->values[i].arg_type;
args[i].arg_type = procedure->args[i].arg_type;
return args;
}
......
......@@ -488,7 +488,7 @@ procedural_db_arguments (ProcRecord *procedure)
args = g_new0 (Argument, procedure->num_args);
for (i = 0; i < procedure->num_args; i++)
args[i].arg_type = procedure->values[i].arg_type;
args[i].arg_type = procedure->args[i].arg_type;
return args;
}
......
......@@ -488,7 +488,7 @@ procedural_db_arguments (ProcRecord *procedure)
args = g_new0 (Argument, procedure->num_args);
for (i = 0; i < procedure->num_args; i++)
args[i].arg_type = procedure->values[i].arg_type;
args[i].arg_type = procedure->args[i].arg_type;
return args;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment