]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.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>
Mon, 7 Feb 2011 22:09:06 +0000 (23:09 +0100)
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 b968ab1d3991a0e60d2dddaf84518b660682104b..bb36748df7052447e80ddd137e10c69a2d334c90 100644 (file)
@@ -2080,7 +2080,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 ();
@@ -6340,14 +6340,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 2c3f275bcb91fa16168fe048b524992e7964d0c4..d5841b6dd554b9d88e9a5de290902a10ffe28e7a 100644 (file)
@@ -2151,7 +2151,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 ();
@@ -6191,14 +6191,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 975683497a6163ccf01effc93ff5acfe61cd8312..5994c351f841725225708e74c216d2b4c0f54d5c 100644 (file)
@@ -580,6 +580,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"
index 10d6a29cf52f8248aab7b18ed343528c6ebd9931..2549b3ef0c0474d03ae15455509263070206121a 100644 (file)
@@ -592,6 +592,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"