]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.0: Fix gtk_selection_data_get_targets binding
authorJürg Billeter <j@bitron.ch>
Mon, 16 Jul 2012 20:14:43 +0000 (22:14 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 16 Jul 2012 20:14:43 +0000 (22:14 +0200)
Fixes bug 679830.

vapi/gtk+-2.0.vapi
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 54b6d7c33521d2cf9c2b99e9c0b5676c8ee52c87..17908628e1a499e467553b79a7ccfc838f974240 100644 (file)
@@ -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 ();
index eeb0db4dead8b7ca2892551e95097f40f10cac6f..bc5f637d388dff3d38a7388804dd071db0b7ecb3 100644 (file)
@@ -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 ();
index 639c2357bd51080c74f227a54ec4ed3b89602391..3a24cf0c58a2011f28f5f73b150ca90cb1991682 100644 (file)
@@ -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"
index 6c3448b0f6fc4f1a1b2427297897392a62e27b33..b871951602909eb9c07b1cba11dd1c21b5a19324 100644 (file)
@@ -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"