[vala/0.50] codegen: Don't wrongly emit declaration for default-handler of signals
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.50] codegen: Don't wrongly emit declaration for default-handler of signals
- Date: Sun, 28 Feb 2021 08:58:22 +0000 (UTC)
commit e6af9cac69680ef19a3c19d892564f5d1d765cfa
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Feb 24 09:58:43 2021 +0100
codegen: Don't wrongly emit declaration for default-handler of signals
This is done in GTypeModule.generate_interface_declaration()
codegen/valagtypemodule.vala | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/codegen/valagtypemodule.vala b/codegen/valagtypemodule.vala
index 75a0f92b4..d6efb57aa 100644
--- a/codegen/valagtypemodule.vala
+++ b/codegen/valagtypemodule.vala
@@ -1292,7 +1292,6 @@ public class Vala.GTypeModule : GErrorModule {
if (sig.default_handler == null || !sig.is_virtual) {
continue;
}
- generate_method_declaration (sig.default_handler, cfile);
var ccast = new CCodeCastExpression (new CCodeIdentifier ("klass"), "%sClass
*".printf (get_ccode_name (cl)));
ccode.add_assignment (new CCodeMemberAccess.pointer (ccast, get_ccode_vfunc_name
(sig.default_handler)), new CCodeIdentifier (get_ccode_real_name (sig.default_handler)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]