]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtksourceview-2.0: Fix cheader filename for SourceCompletionWords
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 6 Apr 2011 12:13:46 +0000 (14:13 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 08:35:54 +0000 (10:35 +0200)
Fixes bug 617321.

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

index c9dd099bbbbc31f4d7b7dbe0342a1ac1933957d2..f5fa8a0e53a911a8a9a12d1b506c4592c1cb4611 100644 (file)
@@ -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)]
index 6d9571baaa6bdd05f07fa3443cc151484e891ebb..2bc40d4c61578636ab4280ebf2c7ee3afd6df7d1 100644 (file)
@@ -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"