[vala/staging] glib-2.0: unichar.to_string doesn't return null



commit 84c5e1cc846d138114ace72410864b062b55ab24
Author: Timm Bäder <mail baedert org>
Date:   Sat Nov 5 21:50:43 2016 +0100

    glib-2.0: unichar.to_string doesn't return null

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 3dc320d..b5297c5 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -945,7 +945,7 @@ public struct unichar {
 
        public int to_utf8 (string? outbuf);
 
-       public string? to_string () {
+       public string to_string () {
                string str = (string) new char[7];
                this.to_utf8 (str);
                return str;


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