[vala] gtk+-2.0, gtk+-3.0: Fix gtk_tree_view_column_cell_get_position binding.



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

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

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index bfcac55..c6d9ed9 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -5298,7 +5298,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/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 734c030..6b04d99 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -5085,7 +5085,7 @@ namespace Gtk {
 	public class TreeViewColumn : GLib.InitiallyUnowned, Gtk.CellLayout, Gtk.Buildable {
 		[CCode (has_construct_function = false)]
 		public TreeViewColumn ();
-		public bool cell_get_position (Gtk.CellRenderer cell_renderer, int x_offset, int width);
+		public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int? x_offset, 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 c1a1154..44881b6 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -712,6 +712,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"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index d5f0a73..1bd78a2 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -728,6 +728,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.x_offset 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]