From: Luca Bruno Date: Wed, 22 Jun 2011 10:52:54 +0000 (+0200) Subject: Remove code that references unused ByRef and InstanceByReference X-Git-Tag: 0.13.1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cabc02707224c55e526924fb3a71cdc2f9c36af4;p=thirdparty%2Fvala.git Remove code that references unused ByRef and InstanceByReference --- diff --git a/vala/valastruct.vala b/vala/valastruct.vala index c94bc0f4a..a492233fb 100644 --- a/vala/valastruct.vala +++ b/vala/valastruct.vala @@ -701,10 +701,6 @@ public class Vala.Struct : TypeSymbol { return true; } } - if (get_attribute ("ByRef") != null) { - // used by time_t - return false; - } if (CodeContext.get ().profile == Profile.DOVA) { return true; } diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 84be81c0a..a6ef9905a 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2283,7 +2283,6 @@ namespace GLib { public void add (long microseconds); [CCode (instance_pos = -1)] public bool from_iso8601 (string iso_date); - [InstanceByReference] public string to_iso8601 (); }