From fe764132afa6e8b39fc7b0791f7ba257066e7945 Mon Sep 17 00:00:00 2001 From: Florian Brosch Date: Thu, 19 Sep 2013 22:54:46 +0200 Subject: [PATCH] glib-2.0: de-deprecate string.offset --- vapi/glib-2.0.vapi | 1 - 1 file changed, 1 deletion(-) 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); } -- 2.47.2