From efe0cdde2c4c112c7ba3d5ac461823429110ff63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sat, 31 May 2008 11:44:25 +0000 Subject: [PATCH] Nullable and `out' fixes, based on patch by Nicolas Joseph, fixes bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-05-31 Jürg Billeter * vapi/packages/gtk+-2.0/: * vapi/packages/gtksourceview-2.0/: Nullable and `out' fixes, based on patch by Nicolas Joseph, fixes bug 535618 * vapi/gtk+-2.0.vapi: * vapi/gtksourceview-2.0.vapi: Regenerated svn path=/trunk/; revision=1517 --- ChangeLog | 13 +++++++++++++ vapi/gtk+-2.0.vapi | 4 ++-- vapi/gtksourceview-2.0.vapi | 4 ++-- vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 6 ++++++ vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata | 8 ++++---- 5 files changed, 27 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9476fbb..c4d16a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,18 @@ 2008-05-31 Jürg Billeter + * vapi/packages/gtk+-2.0/: + * vapi/packages/gtksourceview-2.0/: + + Nullable and `out' fixes, + based on patch by Nicolas Joseph, fixes bug 535618 + + * vapi/gtk+-2.0.vapi: + * vapi/gtksourceview-2.0.vapi: + + Regenerated + +2008-05-31 Jürg Billeter + * vapi/libxml-2.0.vapi: Convert to instance_pos attribute syntax, diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 1a3bd06..d17fe95 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -6223,7 +6223,7 @@ namespace Gtk { public bool backward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter limit); public bool backward_line (); public bool backward_lines (int count); - public bool backward_search (string str, Gtk.TextSearchFlags flags, Gtk.TextIter match_start, Gtk.TextIter match_end, Gtk.TextIter limit); + public bool backward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit); public bool backward_sentence_start (); public bool backward_sentence_starts (int count); public bool backward_to_tag_toggle (Gtk.TextTag tag); @@ -6252,7 +6252,7 @@ namespace Gtk { public bool forward_find_char (Gtk.TextCharPredicate pred, Gtk.TextIter limit); public bool forward_line (); public bool forward_lines (int count); - public bool forward_search (string str, Gtk.TextSearchFlags flags, Gtk.TextIter match_start, Gtk.TextIter match_end, Gtk.TextIter limit); + public bool forward_search (string str, Gtk.TextSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit); public bool forward_sentence_end (); public bool forward_sentence_ends (int count); public void forward_to_end (); diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi index ddf1d78..e00d178 100644 --- a/vapi/gtksourceview-2.0.vapi +++ b/vapi/gtksourceview-2.0.vapi @@ -246,7 +246,7 @@ namespace Gtk { public virtual signal void undo (); } [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public static bool source_iter_backward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, Gtk.TextIter? match_start, Gtk.TextIter? match_end, Gtk.TextIter? limit); + public static bool source_iter_backward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit); [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public static bool source_iter_forward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, Gtk.TextIter? match_start, Gtk.TextIter? match_end, Gtk.TextIter? limit); + public static bool source_iter_forward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit); } diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata index f8026de..e92dd90 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata +++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata @@ -245,6 +245,12 @@ gtk_text_buffer_paste_clipboard.override_location nullable="1" GtkTextIter is_value_type="1" GtkTextTag::event has_emitter="1" GtkTextView.layout hidden="1" +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_forward_search.match_start is_out="1" +gtk_text_iter_forward_search.match_end is_out="1" +gtk_text_iter_forward_search.limit nullable="1" gtk_text_view_get_iter_at_location.iter is_out="1" gtk_text_view_get_iter_at_position.iter is_out="1" gtk_text_view_get_iter_at_position.trailing is_out="1" diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata index eb9147f..30de54c 100644 --- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata +++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata @@ -1,11 +1,11 @@ Gtk cheader_filename="gtksourceview/gtksourceview.h" gtk_source_buffer_can_redo hidden="1" gtk_source_buffer_can_undo hidden="1" -gtk_source_iter_backward_search.match_start nullable="1" -gtk_source_iter_backward_search.match_end nullable="1" +gtk_source_iter_backward_search.match_start is_out="1" +gtk_source_iter_backward_search.match_end is_out="1" gtk_source_iter_backward_search.limit nullable="1" -gtk_source_iter_forward_search.match_start nullable="1" -gtk_source_iter_forward_search.match_end nullable="1" +gtk_source_iter_forward_search.match_start is_out="1" +gtk_source_iter_forward_search.match_end is_out="1" gtk_source_iter_forward_search.limit nullable="1" GtkSourceBuffer::highlight_updated hidden="1" GtkSourceBuffer::marker_updated hidden="1" -- 2.7.4