]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Simplify creation of GLib.Sequence
authorJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 19:43:00 +0000 (21:43 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 19:43:00 +0000 (21:43 +0200)
vapi/glib-2.0.vapi

index 3299b249ff4cdd022d66b48881ac0bcc001f3f58..84be81c0a975ff30bc616cc898ec3589a244e457 100644 (file)
@@ -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);