From: Nicolas Joseph Date: Mon, 6 Apr 2009 16:38:48 +0000 (+0200) Subject: gtksourceview-2.0: Fix gtk_source_style_scheme_manager_get_* bindings X-Git-Tag: 0.6.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e7c3b54b15b0e50204ed84d0e5d892162097c28;p=thirdparty%2Fvala.git gtksourceview-2.0: Fix gtk_source_style_scheme_manager_get_* bindings Fixes bug 577890. --- diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi index 1238ada26..b9a38c2bd 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 f747f60e5..69f0ccac0 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"