From: Evan Nemerson Date: Fri, 17 Sep 2010 06:21:09 +0000 (-0700) Subject: gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable X-Git-Tag: 0.10.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2bf2585b13e98cadb4e2becafb8c1c6440ab410;p=thirdparty%2Fvala.git gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable Fixes bug 628774. --- diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi index d12e274c9..18212bbd6 100644 --- a/vapi/gtksourceview-2.0.vapi +++ b/vapi/gtksourceview-2.0.vapi @@ -428,7 +428,7 @@ namespace Gtk { public interface SourceCompletionProvider : GLib.Object { public abstract bool activate_proposal (Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter); public abstract Gtk.SourceCompletionActivation get_activation (); - public abstract unowned Gdk.Pixbuf get_icon (); + public abstract unowned Gdk.Pixbuf? get_icon (); public abstract unowned Gtk.Widget? get_info_widget (Gtk.SourceCompletionProposal proposal); public abstract int get_interactive_delay (); public abstract string get_name (); @@ -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 const string SOURCE_COMPLETION_CAPABILITY_AUTOMATIC; + public extern const string SOURCE_COMPLETION_CAPABILITY_AUTOMATIC; [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] - public const string SOURCE_COMPLETION_CAPABILITY_INTERACTIVE; + public extern 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 ca5c0d7b9..4559529c5 100644 --- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata +++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata @@ -17,6 +17,7 @@ gtk_source_completion_info_move_to_iter.iter nullable="1" default_value="null" GtkSourceCompletionItem cheader_filename="gtksourceview/gtksourcecompletionitem.h" gtk_source_completion_item_new.icon nullable="1" gtk_source_completion_item_new.info nullable="1" +gtk_source_completion_provider_get_icon nullable="1" gtk_source_completion_provider_get_name transfer_ownership="1" gtk_source_completion_provider_get_info_widget nullable="1" GtkSourceCompletionProposal::changed has_emitter="1"