vala r2252 - in trunk: . vapi vapi/packages/gtk+-2.0



Author: juergbi
Date: Thu Jan  1 19:09:59 2009
New Revision: 2252
URL: http://svn.gnome.org/viewvc/vala?rev=2252&view=rev

Log:
2009-01-01  JÃrg Billeter  <j bitron ch>

	* vapi/packages/gtk+-2.0/:

	Fix gtk_{list,tree}_store_newv bindings,
	based on patch by Michael Lawrence, fixes bug 565462

	* vapi/gtk+-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gtk+-2.0.vapi
   trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata

Modified: trunk/vapi/gtk+-2.0.vapi
==============================================================================
--- trunk/vapi/gtk+-2.0.vapi	(original)
+++ trunk/vapi/gtk+-2.0.vapi	Thu Jan  1 19:09:59 2009
@@ -2084,7 +2084,7 @@
 		[CCode (has_construct_function = false)]
 		public ListStore (int n_columns, ...);
 		[CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
-		public ListStore.newv (int n_columns, GLib.Type[] types);
+		public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
 		public void prepend (out Gtk.TreeIter iter);
 		public bool remove (Gtk.TreeIter iter);
 		public void reorder (int new_order);
@@ -4464,7 +4464,7 @@
 		[CCode (has_construct_function = false)]
 		public TreeStore (int n_columns, ...);
 		[CCode (cname = "gtk_tree_store_newv", has_construct_function = false)]
-		public TreeStore.newv (int n_columns, GLib.Type[] types);
+		public TreeStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
 		public void prepend (out Gtk.TreeIter iter, Gtk.TreeIter? parent);
 		public bool remove (Gtk.TreeIter iter);
 		public void reorder (Gtk.TreeIter? parent, int new_order);

Modified: trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata	(original)
+++ trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata	Thu Jan  1 19:09:59 2009
@@ -158,6 +158,8 @@
 gtk_layout_get_size.width is_out="1"
 gtk_layout_get_size.height is_out="1"
 gtk_list_store_new ellipsis="1"
+gtk_list_store_newv.n_columns hidden="1"
+gtk_list_store_newv.types array_length_pos="0.9"
 gtk_list_store_append.iter is_out="1"
 gtk_list_store_insert.iter is_out="1"
 gtk_list_store_insert_after.iter is_out="1"
@@ -427,6 +429,8 @@
 gtk_tree_selection_get_selected_rows transfer_ownership="1" type_arguments="TreePath"
 gtk_tree_selection_selected_foreach.data hidden="1"
 gtk_tree_store_new ellipsis="1"
+gtk_tree_store_newv.n_columns hidden="1"
+gtk_tree_store_newv.types array_length_pos="0.9"
 gtk_tree_store_append.iter is_out="1"
 gtk_tree_store_append.parent nullable="1"
 gtk_tree_store_insert.iter is_out="1"



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