diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-07-06 09:56:18 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2011-08-01 19:09:01 +0200 |
commit | fec66bf087618263c57cdc34eb92aef6a79b86b6 (patch) | |
tree | 5b244b13f5f8708303ef0e63cb5b131a21998d18 /vala/valaerrortype.vala | |
parent | 21fa2ed25337b21f7108a65f8942d27bd3335372 (diff) | |
download | vala-fec66bf087618263c57cdc34eb92aef6a79b86b6.tar.gz |
Drop C specific methods from the code tree
Diffstat (limited to 'vala/valaerrortype.vala')
-rw-r--r-- | vala/valaerrortype.vala | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/vala/valaerrortype.vala b/vala/valaerrortype.vala index 33f5e41fe..c7c9f9348 100644 --- a/vala/valaerrortype.vala +++ b/vala/valaerrortype.vala @@ -101,24 +101,6 @@ public class Vala.ErrorType : ReferenceType { return result; } - public override string? get_cname () { - return "GError*"; - } - - public override string? get_lower_case_cname (string? infix = null) { - if (error_domain == null) { - if (infix == null) { - return "g_error"; - } else { - return "g_%s_error".printf (infix); - } - } else if (error_code == null) { - return error_domain.get_lower_case_cname (infix); - } else { - return error_code.get_lower_case_cname (infix); - } - } - public override bool equals (DataType type2) { var et = type2 as ErrorType; @@ -135,14 +117,6 @@ public class Vala.ErrorType : ReferenceType { return gerror_symbol.scope.lookup (member_name); } - public override string? get_type_id () { - if (source_reference != null && source_reference.file.context.require_glib_version (2, 26)) { - return "G_TYPE_ERROR"; - } else { - return "G_TYPE_POINTER"; - } - } - public override bool is_reference_type_or_type_parameter () { return true; } |