[vala] gtk+-2.0, gtk+-3.0: Fix return value of gtk_target_table_new_from_list
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Fix return value of gtk_target_table_new_from_list
- Date: Wed, 8 Jun 2011 19:30:33 +0000 (UTC)
commit 8bb236ed706d0e65151b5dcff1e1120f954a9f8c
Author: Oliver Sauder <os esite ch>
Date: Wed Jun 8 21:06:33 2011 +0200
gtk+-2.0, gtk+-3.0: Fix return value of gtk_target_table_new_from_list
Fixes bug 652137.
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 71fa708..6f9fdfe 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -8234,7 +8234,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void target_table_free (Gtk.TargetEntry[] targets);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static Gtk.TargetEntry target_table_new_from_list (Gtk.TargetList list, int n_targets);
+ public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool targets_include_image (Gdk.Atom[] targets, bool writable);
[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 558e204..0c1458f 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -8050,7 +8050,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void target_table_free (Gtk.TargetEntry[] targets);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static Gtk.TargetEntry target_table_new_from_list (Gtk.TargetList list, int n_targets);
+ public static Gtk.TargetEntry[] target_table_new_from_list (Gtk.TargetList list);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool targets_include_image (Gdk.Atom[] targets, bool writable);
[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 99f27f8..1045af5 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -565,6 +565,8 @@ GtkTargetList.list type_arguments="TargetPair"
gtk_target_list_add_table.targets is_array="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"
+gtk_target_table_new_from_list.n_targets hidden="1"
gtk_text_attributes_copy transfer_ownership="1"
gtk_text_buffer_deserialize.data type_name="uint8" is_array="1" array_length_type="gsize"
gtk_text_buffer_deserialize.length hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index b69bd66..7d17abf 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -620,6 +620,8 @@ GtkTargetList.list type_arguments="TargetPair"
gtk_target_list_add_table.targets is_array="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"
+gtk_target_table_new_from_list.n_targets hidden="1"
gtk_text_attributes_copy transfer_ownership="1"
gtk_text_buffer_deserialize.data type_name="uint8" is_array="1" array_length_type="gsize"
gtk_text_buffer_deserialize.length hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]