[vala/0.6] gtksourceview-2.0: Fix gtk_source_style_scheme_manager_get_* bindings



commit 7e7c3b54b15b0e50204ed84d0e5d892162097c28
Author: Nicolas Joseph <gege2061 redaction-developpez com>
Date:   Mon Apr 6 18:38:48 2009 +0200

    gtksourceview-2.0: Fix gtk_source_style_scheme_manager_get_* bindings
    
    Fixes bug 577890.
---
 vapi/gtksourceview-2.0.vapi                        |    6 ++++--
 .../gtksourceview-2.0/gtksourceview-2.0.metadata   |    2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi
index 1238ada..b9a38c2 100644
--- a/vapi/gtksourceview-2.0.vapi
+++ b/vapi/gtksourceview-2.0.vapi
@@ -182,8 +182,10 @@ namespace Gtk {
 		public void force_rescan ();
 		public static unowned Gtk.SourceStyleSchemeManager get_default ();
 		public unowned Gtk.SourceStyleScheme get_scheme (string scheme_id);
-		public unowned string get_scheme_ids ();
-		public unowned string get_search_path ();
+		[CCode (array_length = false, array_null_terminated = true)]
+		public unowned string[] get_scheme_ids ();
+		[CCode (array_length = false, array_null_terminated = true)]
+		public unowned string[] get_search_path ();
 		[CCode (has_construct_function = false)]
 		public SourceStyleSchemeManager ();
 		public void prepend_search_path (string path);
diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
index f747f60..69f0cca 100644
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
@@ -16,6 +16,8 @@ GtkSourceEngine hidden="1"
 GtkSourceLanguageManager cheader_filename="gtksourceview/gtksourcelanguagemanager.h"
 GtkSourceSearchFlags cheader_filename="gtksourceview/gtksourceiter.h"
 GtkSourceStyleSchemeManager cheader_filename="gtksourceview/gtksourcestyleschememanager.h"
+gtk_source_style_scheme_manager_get_search_path is_array="1" array_null_terminated="1"
+gtk_source_style_scheme_manager_get_scheme_ids is_array="1" array_null_terminated="1"
 GtkTextRegion hidden="1"
 GtkTextRegionIterator hidden="1"
 



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