Re: [Vala] go-introspection to specify types of collections?




tomeu in #introspection just told me this is possible [1].

So I guess vapi of gtk+ is still not using gtk+'s gir?

TIA

[1] https://live.gnome.org/GObjectIntrospection/Annotations

On 08/26/2011 10:32 AM, Andres G. Aragoneses wrote:

Hi guys, I have a question about this commit.

Wasn't gobject-introspection actually meant to solve the need of
specifying things like this in the bindings?

TIA


On 08/25/2011 07:24 PM, Evan Nemerson wrote:
commit 867806428eb72a991db76d26732c5bcfb6104a78
Author: Evan Nemerson<evan coeus-group com>
Date: Tue Aug 16 20:36:42 2011 -0700

gtk+-2.0: add type arguments to Table.children field

Fixes bug 655586.

vapi/gtk+-2.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 75d6c8d..658fdc9 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4181,7 +4181,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
- public weak GLib.List children;
+ public weak GLib.List<Gtk.TableChild> children;
public weak Gtk.TableRowCol cols;
public uint16 ncols;
public uint16 nrows;
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 5aa68ba..ed79043 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -566,6 +566,7 @@ GtkStyle.bg_pixmap weak="0"
gtk_style_copy type_name="Style" transfer_ownership="1"
gtk_style_lookup_color.color is_out="1"
gtk_style_get_style_property.value is_out="1"
+GtkTable.children type_arguments="TableChild"
GtkTable:row-spacing accessor_method="0"
GtkTargetEntry is_value_type="1"
GtkTargetList.list type_arguments="TargetPair"
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list

Want to limit the commits to a few modules? Go to above URL, log in to
edit your options and select the modules ('topics') you want.






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