From: Jürg Billeter Date: Wed, 29 Dec 2010 19:58:18 +0000 (+0100) Subject: gtksourceview-2.0: Fix gtk_source_completion_proposal_get_* bindings X-Git-Tag: 0.10.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47fd6c8ecd08f8d1ede886c33c7334d7392c7460;p=thirdparty%2Fvala.git gtksourceview-2.0: Fix gtk_source_completion_proposal_get_* bindings --- diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi index 18212bbd6..3fddaaf41 100644 --- a/vapi/gtksourceview-2.0.vapi +++ b/vapi/gtksourceview-2.0.vapi @@ -416,10 +416,10 @@ namespace Gtk { public interface SourceCompletionProposal : GLib.Object { public abstract bool equal (Gtk.SourceCompletionProposal other); public abstract unowned Gdk.Pixbuf get_icon (); - public abstract unowned string get_info (); - public abstract unowned string get_label (); - public abstract unowned string get_markup (); - public abstract unowned string get_text (); + public abstract string get_info (); + public abstract string get_label (); + public abstract string get_markup (); + public abstract string get_text (); public abstract uint hash (); [HasEmitter] public signal void changed (); @@ -501,9 +501,9 @@ namespace Gtk { [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] public delegate unowned string SourceViewMarkTooltipFunc (Gtk.SourceMark mark); [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public extern const string SOURCE_COMPLETION_CAPABILITY_AUTOMATIC; + public const string SOURCE_COMPLETION_CAPABILITY_AUTOMATIC; [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public extern const string SOURCE_COMPLETION_CAPABILITY_INTERACTIVE; + public const string SOURCE_COMPLETION_CAPABILITY_INTERACTIVE; [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] 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")] diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata index 4559529c5..159bfd214 100644 --- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata +++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata @@ -22,6 +22,10 @@ gtk_source_completion_provider_get_name transfer_ownership="1" gtk_source_completion_provider_get_info_widget nullable="1" GtkSourceCompletionProposal::changed has_emitter="1" GtkSourceCompletionProposal::show has_emitter="1" +gtk_source_completion_proposal_get_info transfer_ownership="1" +gtk_source_completion_proposal_get_label transfer_ownership="1" +gtk_source_completion_proposal_get_markup transfer_ownership="1" +gtk_source_completion_proposal_get_text transfer_ownership="1" GtkSourceContextData hidden="1" GtkSourceContextEngine hidden="1" GtkSourceContextReplace hidden="1"