]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable
authorEvan Nemerson <evan@coeus-group.com>
Fri, 17 Sep 2010 06:21:09 +0000 (23:21 -0700)
committerJürg Billeter <j@bitron.ch>
Fri, 17 Sep 2010 16:26:19 +0000 (18:26 +0200)
Fixes bug 628774.

vapi/gtksourceview-2.0.vapi
vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata

index d12e274c9d232a3cf8af23afb40279cbb9646502..18212bbd67cf8b0619a902497a1e52c9ef8b9de4 100644 (file)
@@ -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")]
index ca5c0d7b95fa88d9a15bd1e1a6c2953ef1308f48..4559529c58667bf141335387ee9db320f26000bd 100644 (file)
@@ -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"