[vala] gtk+-2.0: Fix TreeView.get_columns binding



commit 47117ec63872296743d20766012e268e5b23f655
Author: Jaap A. Haitsma <jaap haitsma org>
Date:   Sat Jul 11 19:01:55 2009 +0200

    gtk+-2.0: Fix TreeView.get_columns binding
    
    Fixes bug #588009

 vapi/gtk+-2.0.vapi                       |    6 +-----
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index b77f7d9..34e3c73 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -36,13 +36,10 @@ namespace Gtk {
 		public void set_website (string website);
 		public void set_website_label (string website_label);
 		public void set_wrap_license (bool wrap_license);
-		[CCode (array_length = false, array_null_terminated = true)]
 		public string[] artists { get; set; }
-		[CCode (array_length = false, array_null_terminated = true)]
 		public string[] authors { get; set; }
 		public string comments { get; set; }
 		public string copyright { get; set; }
-		[CCode (array_length = false, array_null_terminated = true)]
 		public string[] documenters { get; set; }
 		public string license { get; set; }
 		public Gdk.Pixbuf logo { get; set; }
@@ -3252,7 +3249,6 @@ namespace Gtk {
 		public void set_value (double value);
 		public Gtk.Adjustment adjustment { get; set; }
 		[NoAccessorMethod]
-		[CCode (array_length = false, array_null_terminated = true)]
 		public string[] icons { owned get; set; }
 		[NoAccessorMethod]
 		public Gtk.IconSize size { get; set; }
@@ -4694,7 +4690,7 @@ namespace Gtk {
 		public unowned Gdk.Window get_bin_window ();
 		public void get_cell_area (Gtk.TreePath path, Gtk.TreeViewColumn column, out Gdk.Rectangle rect);
 		public unowned Gtk.TreeViewColumn get_column (int n);
-		public unowned GLib.List get_columns ();
+		public GLib.List<Gtk.TreeViewColumn> get_columns ();
 		public void get_cursor (out Gtk.TreePath? path, out unowned Gtk.TreeViewColumn? focus_column);
 		public bool get_dest_row_at_pos (int drag_x, int drag_y, out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
 		public void get_drag_dest_row (out Gtk.TreePath? path, out Gtk.TreeViewDropPosition pos);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 4f8ee92..6d7be66 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -531,6 +531,7 @@ gtk_tree_view_convert_widget_to_tree_coords.tx is_out="1"
 gtk_tree_view_convert_widget_to_tree_coords.ty is_out="1"
 gtk_tree_view_get_background_area.rect is_out="1"
 gtk_tree_view_get_cell_area.rect is_out="1"
+gtk_tree_view_get_columns transfer_ownership="1" type_arguments="TreeViewColumn"
 gtk_tree_view_get_cursor.path value_owned="1" nullable="1"
 gtk_tree_view_get_cursor.focus_column nullable="1"
 gtk_tree_view_get_path_at_pos.path value_owned="1" nullable="1"



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