]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: fix ListModel.get_item binding
authorEvan Nemerson <evan@nemerson.com>
Tue, 17 Feb 2015 09:11:31 +0000 (01:11 -0800)
committerEvan Nemerson <evan@nemerson.com>
Tue, 17 Feb 2015 09:11:31 +0000 (01:11 -0800)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 52d13090ff5713a7fc85fcc24e6658a68699acaa..f1eabb9f17131b4da4f920d1e7630667f8b7ac4d 100644 (file)
@@ -2759,8 +2759,7 @@ namespace GLib {
        }
        [CCode (cheader_filename = "gio/gio.h", type_cname = "GListModelInterface", type_id = "g_list_model_get_type ()")]
        public interface ListModel : GLib.Object {
-               [NoWrapper]
-               public abstract void* get_item (uint position);
+               public abstract GLib.Object? get_item (uint position);
                public abstract GLib.Type get_item_type ();
                public abstract uint get_n_items ();
                public GLib.Object? get_object (uint position);
index c983f445079278b8069c6abd30b0964de3d70132..052027ce7fb13f5b083e0ade667471c088d58340 100644 (file)
@@ -141,7 +141,7 @@ InputStream
   .skip throws="GLib.IOError"
   .skip_finish throws="GLib.IOError"
 ListModel
-  .get_item skip=false
+  .get_item#method skip=false abstract
 MemoryOutputStream
   .get_data type="unowned uint8[]"
   .steal_data type="uint8[]"