]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Fix gtk_text_iter_{begins,ends}_tag bindings
authorJürg Billeter <j@bitron.ch>
Mon, 7 Feb 2011 22:09:06 +0000 (23:09 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 12 Mar 2011 14:33:37 +0000 (15:33 +0100)
vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index e843621e501c4318fb92597fe1bcb2fb00672fe6..af82829cf92af85a9a75d9323ea6902c5c24e74c 100644 (file)
@@ -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 ();
index a1d2b1fc587705806a4a38c071e68477b856725b..c6532fbf09a2d5b1dd7fa86325faebacd742df61 100644 (file)
@@ -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"