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



commit a5d52a8343a1387006d4ed08a4bf5f185970affc
Author: Luca Bruno <lucabru src gnome org>
Date:   Thu Apr 5 12:28:35 2012 +0200

    gtk+-2.0, gtk+-3.0: Fix TargetList.add_table binding
    
    Based on patch by Axel FILMORE.
    
    Fixes bug 673117.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 2e5d89e..129ec2f 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4253,7 +4253,7 @@ namespace Gtk {
 		public void add (Gdk.Atom target, uint flags, uint info);
 		public void add_image_targets (uint info, bool writable);
 		public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
-		public void add_table (Gtk.TargetEntry[] targets, uint ntargets);
+		public void add_table (Gtk.TargetEntry[] targets);
 		public void add_text_targets (uint info);
 		public void add_uri_targets (uint info);
 		public bool find (Gdk.Atom target, uint info);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 53c0379..451cfc5 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4271,7 +4271,7 @@ namespace Gtk {
 		public void add (Gdk.Atom target, uint flags, uint info);
 		public void add_image_targets (uint info, bool writable);
 		public void add_rich_text_targets (uint info, bool deserializable, Gtk.TextBuffer buffer);
-		public void add_table (Gtk.TargetEntry[] targets, uint ntargets);
+		public void add_table (Gtk.TargetEntry[] targets);
 		public void add_text_targets (uint info);
 		public void add_uri_targets (uint info);
 		public bool find (Gdk.Atom target, uint info);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 07ddfe7..c1a0bee 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -579,6 +579,7 @@ GtkTable:row-spacing accessor_method="0"
 GtkTargetEntry is_value_type="1"
 GtkTargetList.list type_arguments="TargetPair"
 gtk_target_list_add_table.targets is_array="1"
+gtk_target_list_add_table.ntargets hidden="1"
 gtk_target_list_new.targets is_array="1"
 gtk_target_list_new.ntargets hidden="1"
 gtk_target_table_new_from_list is_array="1" transfer_ownership="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 6432fa4..0deb529 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -659,6 +659,7 @@ GtkTable:row-spacing accessor_method="0"
 GtkTargetEntry is_value_type="1"
 GtkTargetList.list type_arguments="TargetPair"
 gtk_target_list_add_table.targets is_array="1"
+gtk_target_list_add_table.ntargets hidden="1"
 gtk_target_list_new.targets is_array="1"
 gtk_target_list_new.ntargets hidden="1"
 gtk_target_table_new_from_list is_array="1" transfer_ownership="1"



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