[vala] glib-2.0: Simplify creation of GLib.Sequence



commit ca5e231373766c12e5cd7c50fd9ec7d9c5cb8ed0
Author: Jürg Billeter <j bitron ch>
Date:   Sun May 29 21:43:00 2011 +0200

    glib-2.0: Simplify creation of GLib.Sequence

 vapi/glib-2.0.vapi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 3299b24..84be81c 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3818,7 +3818,8 @@ namespace GLib {
 	[Compact]
 	[CCode (free_function = "g_sequence_free")]
 	public class Sequence<G> {
-		public Sequence (DestroyNotify? data_destroy);
+		[CCode (simple_generics = true)]
+		public Sequence ();
 		public int get_length ();
 		public void @foreach (Func<G> func);
 		public static void foreach_range (SequenceIter<G> begin, SequenceIter<G> end, Func<G> func);



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