[vala/0.10] gtk+-2.0: Fix gtk_tree_view_column_cell_get_position binding.



commit 529083e58b8d65e6aea84de9d360e06e048d1099
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Feb 28 18:24:31 2011 +0100

    gtk+-2.0: Fix gtk_tree_view_column_cell_get_position binding.
    
    Fixes bug 642635.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 92ef707..3da7e67 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -5077,7 +5077,7 @@ namespace Gtk {
 		public float xalign;
 		[CCode (has_construct_function = false)]
 		public TreeViewColumn ();
-		public bool cell_get_position (Gtk.CellRenderer cell_renderer, int start_pos, int width);
+		public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int? start_pos, out int? width);
 		public void cell_get_size (out Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height);
 		public bool cell_is_visible ();
 		public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 6e32085..52eba1b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -704,6 +704,8 @@ gtk_tree_sortable_set_default_sort_func.destroy hidden="1"
 gtk_tree_sortable_set_sort_func.sort_func transfer_ownership="1"
 gtk_tree_sortable_set_sort_func.destroy hidden="1"
 GtkTreeSortable::sort_column_changed has_emitter="1"
+gtk_tree_view_column_cell_get_position.start_pos is_out="1" nullable="1" transfer_ownership="1"
+gtk_tree_view_column_cell_get_position.width is_out="1" nullable="1" transfer_ownership="1"
 gtk_tree_view_column_cell_get_size.cell_area is_out="1"
 gtk_tree_view_column_cell_get_size.x_offset is_out="1"
 gtk_tree_view_column_cell_get_size.y_offset is_out="1"



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