[vala] glib-2.0: de-deprecate string.offset
- From: Florian Brosch <flobrosch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: de-deprecate string.offset
- Date: Thu, 19 Sep 2013 22:00:53 +0000 (UTC)
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]