[vala] gio-2.0: fix ListModel.get_item binding
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: fix ListModel.get_item binding
- Date: Tue, 17 Feb 2015 09:12:34 +0000 (UTC)
commit b1df03a11d5098c0c355fa9e1b91fa7eef3bc907
Author: Evan Nemerson <evan nemerson com>
Date: Tue Feb 17 01:11:31 2015 -0800
gio-2.0: fix ListModel.get_item binding
vapi/gio-2.0.vapi | 3 +--
vapi/metadata/Gio-2.0.metadata | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 52d1309..f1eabb9 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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);
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index c983f44..052027c 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -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[]"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]