Commit 4cc52450 authored by Jürg Billeter's avatar Jürg Billeter

GType: Declare inherited methods in interface implementations

Fixes bug 581290.
parent bcae7520
......@@ -1253,6 +1253,8 @@ internal class Vala.GTypeModule : GErrorModule {
base_method = cl_method.base_interface_method;
}
generate_method_declaration (base_method, source_declarations);
var ciface = new CCodeIdentifier ("iface");
init_block.add_statement (new CCodeExpressionStatement (new CCodeAssignment (new CCodeMemberAccess.pointer (ciface, m.vfunc_name), new CCodeIdentifier (base_method.get_cname ()))));
}
......
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