[vala/0.10] gtk+-2.0: Fix a few Clipboard related bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gtk+-2.0: Fix a few Clipboard related bindings
- Date: Sat, 12 Mar 2011 15:11:50 +0000 (UTC)
commit e7bc7004110be1eefa03964966f7c3072b390e49
Author: Michal Hruby <michal mhr gmail com>
Date: Thu Feb 24 13:41:56 2011 +0100
gtk+-2.0: Fix a few Clipboard related bindings
vapi/gtk+-2.0.vapi | 12 ++++++------
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 10 ++++++++++
2 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index ff1f141..92ef707 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4129,7 +4129,7 @@ namespace Gtk {
public void get_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
public int get_char_count ();
public unowned Gtk.TargetList get_copy_target_list ();
- public Gdk.Atom get_deserialize_formats (int n_formats);
+ public Gdk.Atom[] get_deserialize_formats ();
public void get_end_iter (out Gtk.TextIter iter);
public bool get_has_selection ();
public unowned Gtk.TextMark get_insert ();
@@ -7202,13 +7202,13 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate void ClipboardReceivedFunc (Gtk.Clipboard clipboard, Gtk.SelectionData selection_data);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, uchar text, size_t length);
+ public delegate void ClipboardRichTextReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom format, [CCode (array_length_type = "gsize")] uint8[] text);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, out Gdk.Atom atoms, int n_atoms);
+ public delegate void ClipboardTargetsReceivedFunc (Gtk.Clipboard clipboard, Gdk.Atom[] atoms);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string text);
+ public delegate void ClipboardTextReceivedFunc (Gtk.Clipboard clipboard, string? text);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, string uris);
+ public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, array_null_terminated = true)] string[] uris);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate void ColorSelectionChangePaletteFunc (Gdk.Color colors, int n_colors);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
@@ -7248,7 +7248,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
[CCode (cheader_filename = "gtk/gtk.h")]
- public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, uchar data, size_t length, bool create_tags, GLib.Error error);
+ public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data, bool create_tags, GLib.Error error);
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate uchar TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
[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 9dd5f57..6e32085 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -125,6 +125,12 @@ GtkCList::select_row has_emitter="1"
GtkCList::undo_selection has_emitter="1"
GtkCList::unselect_all has_emitter="1"
GtkCList::unselect_row has_emitter="1"
+GtkClipboardTextReceivedFunc.text nullable="1"
+GtkClipboardTargetsReceivedFunc.atoms is_array="1"
+GtkClipboardTargetsReceivedFunc.n_atoms hidden="1"
+GtkClipboardRichTextReceivedFunc.text type_name="uint8" is_array="1" array_length_type="gsize"
+GtkClipboardRichTextReceivedFunc.length hidden="1"
+GtkClipboardURIReceivedFunc.uris is_array="1" no_array_length"1" array_null_terminated="1"
gtk_color_button_get_color.color is_out="1"
gtk_color_selection_get_current_color.color is_out="1"
gtk_color_selection_get_previous_color.color is_out="1"
@@ -532,6 +538,8 @@ 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_text_attributes_copy transfer_ownership="1"
+gtk_text_buffer_get_deserialize_formats is_array="1" transfer_ownership="1"
+gtk_text_buffer_get_deserialize_formats.n_formats hidden="1"
gtk_text_buffer_set_text.len default_value="-1"
gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
GtkTextBuffer::apply_tag has_emitter="1"
@@ -561,6 +569,8 @@ gtk_text_buffer_register_serialize_format.function transfer_ownership="1"
gtk_text_buffer_register_serialize_format.user_data_destroy hidden="1"
gtk_text_buffer_new.table nullable="1"
gtk_text_buffer_get_text transfer_ownership="1"
+GtkTextBufferDeserializeFunc.data type_name="uint8" is_array="1" array_length_type="gsize"
+GtkTextBufferDeserializeFunc.length hidden="1"
GtkTextBufferDeserializeFunc.user_data hidden="1"
GtkTextBufferDeserializeFunc has_target="1"
GtkTextIter is_value_type="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]