diff options
author | Jürg Billeter <j@bitron.ch> | 2010-03-23 14:58:35 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-03-23 15:04:46 +0100 |
commit | c7c5a8583ec2b28e4244e66145b6cecbcfda3717 (patch) | |
tree | 5c13d56ef76943231e2f1412a49b4d054a48032e /vala | |
parent | deb6e10007e6ac2bca73e524604ba0ceeff3efb8 (diff) | |
download | vala-c7c5a8583ec2b28e4244e66145b6cecbcfda3717.tar.gz |
Use BOXED marshaller for compact classes with type id
Diffstat (limited to 'vala')
-rw-r--r-- | vala/valaclass.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vala/valaclass.vala b/vala/valaclass.vala index eceedf3ed..b11b266a5 100644 --- a/vala/valaclass.vala +++ b/vala/valaclass.vala @@ -699,8 +699,10 @@ public class Vala.Class : ObjectTypeSymbol { marshaller_type_name = base_class.get_marshaller_type_name (); } else if (!is_compact) { marshaller_type_name = get_upper_case_cname (); - } else { + } else if (get_type_id () == "G_TYPE_POINTER") { marshaller_type_name = "POINTER"; + } else { + marshaller_type_name = "BOXED"; } } |