From: Florian Brosch Date: Thu, 19 Sep 2013 20:54:46 +0000 (+0200) Subject: glib-2.0: de-deprecate string.offset X-Git-Tag: 0.22.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe764132afa6e8b39fc7b0791f7ba257066e7945;p=thirdparty%2Fvala.git glib-2.0: de-deprecate string.offset --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 934d026eb..6a4473042 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1001,7 +1001,6 @@ public class string { [Deprecated (replacement = "string.index_of_nth_char")] [CCode (cname = "g_utf8_offset_to_pointer")] public unowned string utf8_offset (long offset); - [Deprecated (replacement = "string.substring")] public unowned string offset (long offset) { return (string) ((char*) this + offset); }