summaryrefslogtreecommitdiff
path: root/codegen/valatyperegisterfunction.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-10-28 13:07:01 +0200
committerJürg Billeter <j@bitron.ch>2010-10-28 16:20:17 +0200
commite81776c024ab1e72b918612e49606f8500aaad06 (patch)
treee80e6e65ccc417359a8cf8531495d5157a68d232 /codegen/valatyperegisterfunction.vala
parent5f3ed0f460a06120900b082c49f9da8bcc1a0a84 (diff)
downloadvala-e81776c024ab1e72b918612e49606f8500aaad06.tar.gz
Rename FormalParameter to Parameter
Diffstat (limited to 'codegen/valatyperegisterfunction.vala')
-rw-r--r--codegen/valatyperegisterfunction.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/valatyperegisterfunction.vala b/codegen/valatyperegisterfunction.vala
index b30d7efe6..7b561f719 100644
--- a/codegen/valatyperegisterfunction.vala
+++ b/codegen/valatyperegisterfunction.vala
@@ -78,7 +78,7 @@ public abstract class Vala.TypeRegisterFunction {
}
} else {
fun = new CCodeFunction ("%s_register_type".printf (get_type_declaration ().get_lower_case_cname (null)), "GType");
- fun.add_parameter (new CCodeFormalParameter ("module", "GTypeModule *"));
+ fun.add_parameter (new CCodeParameter ("module", "GTypeModule *"));
var get_fun = new CCodeFunction ("%s_get_type".printf (get_type_declaration ().get_lower_case_cname (null)), "GType");
get_fun.attributes = "G_GNUC_CONST";