From: Luca Bruno Date: Wed, 6 Apr 2011 12:13:46 +0000 (+0200) Subject: gtksourceview-2.0: Fix cheader filename for SourceCompletionWords X-Git-Tag: 0.12.1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708603a8178052a6df22bbcbad9be0d69fb5aced;p=thirdparty%2Fvala.git gtksourceview-2.0: Fix cheader filename for SourceCompletionWords Fixes bug 617321. --- diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi index c9dd099bb..f5fa8a0e5 100644 --- a/vapi/gtksourceview-2.0.vapi +++ b/vapi/gtksourceview-2.0.vapi @@ -145,7 +145,7 @@ namespace Gtk { [NoAccessorMethod] public string text { owned get; set; } } - [CCode (cheader_filename = "gtksourceview/gtksourceview.h")] + [CCode (cheader_filename = "gtksourceview/completion-providers/words/gtksourcecompletionwords.h")] public class SourceCompletionWords : GLib.Object, Gtk.SourceCompletionProvider { [CCode (has_construct_function = false)] public SourceCompletionWords (string name, Gdk.Pixbuf icon); @@ -213,7 +213,7 @@ namespace Gtk { [CCode (array_length = false, array_null_terminated = true)] public unowned string[]? get_search_path (); public unowned Gtk.SourceLanguage? guess_language (string? filename, string? content_type); - public void set_search_path ([CCode (array_length = false)] string[]? dirs); + public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs); [CCode (array_length = false, array_null_terminated = true)] public string[] language_ids { get; } [CCode (array_length = false, array_null_terminated = true)] diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata index 6d9571baa..2bc40d4c6 100644 --- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata +++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata @@ -23,6 +23,7 @@ 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" +GtkSourceCompletionWords cheader_filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h" GtkSourceContextData hidden="1" GtkSourceContextEngine hidden="1" GtkSourceContextReplace hidden="1"