[vala] gtksourceview-2.0: Fix gtk_source_language_manager binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] gtksourceview-2.0: Fix gtk_source_language_manager binding
- Date: Fri, 26 Jun 2009 19:08:04 +0000 (UTC)
commit 105ddad09ab3381278560f3c4c4e0fcc29597c6e
Author: Matias De la Puente <mfpuente ar gmail com>
Date: Fri Jun 26 11:01:33 2009 -0300
gtksourceview-2.0: Fix gtk_source_language_manager binding
Signed-off-by: Matias De la Puente <mfpuente ar gmail com>
vapi/gtksourceview-2.0.vapi | 8 +++++---
.../gtksourceview-2.0/gtksourceview-2.0.metadata | 3 +++
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi
index acd3ded..aeeee24 100644
--- a/vapi/gtksourceview-2.0.vapi
+++ b/vapi/gtksourceview-2.0.vapi
@@ -60,12 +60,14 @@ namespace Gtk {
public class SourceLanguageManager : GLib.Object {
public static unowned Gtk.SourceLanguageManager get_default ();
public unowned Gtk.SourceLanguage get_language (string id);
- public unowned string get_language_ids ();
- public unowned string get_search_path ();
+ [CCode (array_length = false, array_null_terminated = true)]
+ public unowned string[]? get_language_ids ();
+ [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);
[CCode (has_construct_function = false)]
public SourceLanguageManager ();
- public void set_search_path (string dirs);
+ public void set_search_path ([CCode (array_length = false)] string[]? dirs);
public string[] language_ids { get; }
public string[] search_path { get; set; }
}
diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
index 562733f..9370abd 100644
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
@@ -14,6 +14,9 @@ GtkSourceContextEngine hidden="1"
GtkSourceContextReplace hidden="1"
GtkSourceEngine hidden="1"
GtkSourceLanguageManager cheader_filename="gtksourceview/gtksourcelanguagemanager.h"
+gtk_source_language_manager_get_language_ids is_array="1" nullable="1" array_null_terminated="1"
+gtk_source_language_manager_get_search_path is_array="1" nullable="1" array_null_terminated="1"
+gtk_source_language_manager_set_search_path.dirs is_array="1" nullable="1" array_null_terminated="1"
GtkSourcePrintCompositor cheader_filename="gtksourceview/gtksourceprintcompositor.h"
GtkSourceSearchFlags cheader_filename="gtksourceview/gtksourceiter.h"
GtkSourceStyleSchemeManager cheader_filename="gtksourceview/gtksourcestyleschememanager.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]