[vala] gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable
- Date: Fri, 17 Sep 2010 06:23:57 +0000 (UTC)
commit f3c924802249e67017b511ddb33c85c3af438d8f
Author: Evan Nemerson <evan coeus-group com>
Date: Thu Sep 16 23:21:09 2010 -0700
gtksourceview-2.0: make SourceCompletionProvider.get_icon nullable
Fixes bug 628774.
vapi/gtksourceview-2.0.vapi | 6 +++---
.../gtksourceview-2.0/gtksourceview-2.0.metadata | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi
index d12e274..18212bb 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 ca5c0d7..4559529 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]