diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-09-09 15:35:29 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2011-09-09 15:35:29 +0200 |
commit | 18b59090238bed32d6aeb1acf19c3981fb7b92a0 (patch) | |
tree | c71ee6cdf1503236e620f2c4c0fe87eb010a9a44 | |
parent | 7e3de74d8f98840d9a4bfbd9eeee31bc6e0b0dd6 (diff) | |
download | vala-18b59090238bed32d6aeb1acf19c3981fb7b92a0.tar.gz |
codegen: Fix emitting the static destructor of classes
-rw-r--r-- | codegen/valagtypemodule.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codegen/valagtypemodule.vala b/codegen/valagtypemodule.vala index 02d8996a7..99900c6a4 100644 --- a/codegen/valagtypemodule.vala +++ b/codegen/valagtypemodule.vala @@ -1538,8 +1538,8 @@ public class Vala.GTypeModule : GErrorModule { push_function (function); - if (cl.class_destructor != null) { - cl.class_destructor.body.emit (this); + if (cl.static_destructor != null) { + cl.static_destructor.body.emit (this); } pop_context (); |