[vala] glib-2.0: de-deprecate string.offset



commit fe764132afa6e8b39fc7b0791f7ba257066e7945
Author: Florian Brosch <flo brosch gmail com>
Date:   Thu Sep 19 22:54:46 2013 +0200

    glib-2.0: de-deprecate string.offset

 vapi/glib-2.0.vapi |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 934d026..6a44730 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);
        }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]