[vala] gtk+-2.0, gtk+-3.0: Fix gtk_selection_data_get_targets binding
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Fix gtk_selection_data_get_targets binding
- Date: Mon, 16 Jul 2012 20:16:00 +0000 (UTC)
commit 31e9ba85acd2af5255d7e289630ecf2bcc99794f
Author: JÃrg Billeter <j bitron ch>
Date: Mon Jul 16 22:14:43 2012 +0200
gtk+-2.0, gtk+-3.0: Fix gtk_selection_data_get_targets binding
Fixes bug 679830.
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 54b6d7c..1790862 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -3697,7 +3697,7 @@ namespace Gtk {
public Gdk.Pixbuf? get_pixbuf ();
public Gdk.Atom get_selection ();
public Gdk.Atom get_target ();
- public bool get_targets (out Gdk.Atom targets, int n_atoms);
+ public bool get_targets (out Gdk.Atom[] targets);
public string? get_text ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_uris ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index eeb0db4..bc5f637 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3661,7 +3661,7 @@ namespace Gtk {
public Gdk.Pixbuf? get_pixbuf ();
public Gdk.Atom get_selection ();
public Gdk.Atom get_target ();
- public bool get_targets (out Gdk.Atom targets, int n_atoms);
+ public bool get_targets (out Gdk.Atom[] targets);
public string? get_text ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_uris ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 639c235..3a24cf0 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -528,6 +528,8 @@ gtk_selection_add_targets.targets is_array="1"
gtk_selection_data_copy transfer_ownership="1"
gtk_selection_data_get_data no_array_length="1"
gtk_selection_data_get_pixbuf transfer_ownership="1" nullable="1"
+gtk_selection_data_get_targets.targets is_array="1" is_out="1" transfer_ownership="1"
+gtk_selection_data_get_targets.n_atoms hidden="1"
gtk_selection_data_get_text type_name="string" nullable="1" transfer_ownership="1"
gtk_selection_data_get_uris is_array="1" transfer_ownership="1" array_null_terminated="1"
gtk_selection_data_set.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 6c3448b..b871951 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -598,6 +598,8 @@ gtk_selection_data_copy transfer_ownership="1"
gtk_selection_data_get_data no_array_length="1"
gtk_selection_data_get_data_with_length.length hidden="1"
gtk_selection_data_get_pixbuf transfer_ownership="1" nullable="1"
+gtk_selection_data_get_targets.targets is_array="1" is_out="1" transfer_ownership="1"
+gtk_selection_data_get_targets.n_atoms hidden="1"
gtk_selection_data_get_text type_name="string" nullable="1" transfer_ownership="1"
gtk_selection_data_get_uris is_array="1" transfer_ownership="1" array_null_terminated="1"
gtk_selection_data_set.length hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]