[vala] gtk+-2.0, gtk+-3.0: Fix gtk_text_iter_{begins, ends}_tag bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Fix gtk_text_iter_{begins, ends}_tag bindings
- Date: Mon, 7 Feb 2011 22:10:31 +0000 (UTC)
commit 71ed097b03f6cda6197b56779007cca59435bc22
Author: Jürg Billeter <j bitron ch>
Date: Mon Feb 7 23:09:06 2011 +0100
gtk+-2.0, gtk+-3.0: Fix gtk_text_iter_{begins,ends}_tag bindings
vapi/gtk+-2.0.vapi | 6 +++---
vapi/gtk+-3.0.vapi | 6 +++---
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 ++
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 ++
4 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index b968ab1..bb36748 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -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 ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 2c3f275..d5841b6 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -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 ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 9756834..5994c35 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -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"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 10d6a29..2549b3e 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]