]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: de-deprecate string.offset
authorFlorian Brosch <flo.brosch@gmail.com>
Thu, 19 Sep 2013 20:54:46 +0000 (22:54 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Thu, 19 Sep 2013 22:01:59 +0000 (00:01 +0200)
vapi/glib-2.0.vapi

index 934d026eb14b202a0bb2d62bd168ecc396d9018c..6a4473042d63c7f572b057ce5a7ec64145f043cf 100644 (file)
@@ -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);
        }