]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
GType: Declare inherited methods in interface implementations
authorJürg Billeter <j@bitron.ch>
Mon, 4 May 2009 20:56:59 +0000 (22:56 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 4 May 2009 20:56:59 +0000 (22:56 +0200)
Fixes bug 581290.

gobject/valagtypemodule.vala

index bb52ad0cf1a7bf2267f477c3a306ac0cc1f072b4..abf366d0ffacda5f0ba79d81eaa30c569dc3dc6c 100644 (file)
@@ -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 ()))));
                                }