[vala] glib-2.0: Make return value of GLib.Dir.read_name() nullable



commit 405e200d0c2346bce4df1f392d49c41909de8bc2
Author: Martin Olsson <martin minimum se>
Date:   Sun Jul 11 13:40:17 2010 +0200

    glib-2.0: Make return value of GLib.Dir.read_name() nullable
    
    Fixes bug 624096.

 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 ca90792..44080ad 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2752,7 +2752,7 @@ namespace GLib {
 	[CCode (free_function = "g_dir_close")]
 	public class Dir {
 		public static Dir open (string filename, uint _flags = 0) throws FileError;
-		public unowned string read_name ();
+		public unowned string? read_name ();
 		public void rewind ();
 	}
 	



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