[vala/0.10] gtk+-2.0: Fix gtk_text_iter_{begins,ends}_tag bindings



commit 7f9b505fc344900bf172163b6b0097e27ca10cfa
Author: Jürg Billeter <j bitron ch>
Date:   Mon Feb 7 23:09:06 2011 +0100

    gtk+-2.0: Fix gtk_text_iter_{begins,ends}_tag bindings

 vapi/gtk+-2.0.vapi                       |    6 +++---
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index e843621..af82829 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1859,7 +1859,7 @@ namespace Gtk {
 		public IconTheme ();
 		public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
 		public void append_search_path (string path);
-		public Gtk.IconInfo choose_icon ([CCode (array_length = false)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
+		public Gtk.IconInfo choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
 		public static GLib.Quark error_quark ();
 		public static unowned Gtk.IconTheme get_default ();
 		public unowned string get_example_icon_name ();
@@ -6119,14 +6119,14 @@ namespace Gtk {
 		public bool backward_visible_word_starts (int count);
 		public bool backward_word_start ();
 		public bool backward_word_starts (int count);
-		public bool begins_tag (Gtk.TextTag tag);
+		public bool begins_tag (Gtk.TextTag? tag);
 		public bool can_insert (bool default_editability);
 		public int compare (Gtk.TextIter rhs);
 		public Gtk.TextIter copy ();
 		public bool editable (bool default_setting);
 		public bool ends_line ();
 		public bool ends_sentence ();
-		public bool ends_tag (Gtk.TextTag tag);
+		public bool ends_tag (Gtk.TextTag? tag);
 		public bool ends_word ();
 		public bool equal (Gtk.TextIter rhs);
 		public bool forward_char ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index a1d2b1f..c6532fb 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -572,6 +572,8 @@ gtk_text_iter_backward_search.match_start is_out="1"
 gtk_text_iter_backward_search.match_end is_out="1"
 gtk_text_iter_backward_search.limit nullable="1"
 gtk_text_iter_backward_to_tag_toggle.tag nullable="1"
+gtk_text_iter_begins_tag.tag nullable="1"
+gtk_text_iter_ends_tag.tag nullable="1"
 gtk_text_iter_forward_find_char.limit nullable="1"
 gtk_text_iter_forward_search.match_start is_out="1"
 gtk_text_iter_forward_search.match_end is_out="1"



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