[vala/0.12] gtksourceview-2.0: Fix cheader filename for SourceCompletionWords



commit 708603a8178052a6df22bbcbad9be0d69fb5aced
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Apr 6 14:13:46 2011 +0200

    gtksourceview-2.0: Fix cheader filename for SourceCompletionWords
    
    Fixes bug 617321.

 vapi/gtksourceview-2.0.vapi                        |    4 ++--
 .../gtksourceview-2.0/gtksourceview-2.0.metadata   |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi
index c9dd099..f5fa8a0 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 6d9571b..2bc40d4 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]