From: Rico Tzschichholz Date: Wed, 20 Aug 2014 09:00:01 +0000 (+0200) Subject: gtksourceview-3.0: Update to 3.13.90 and mark as deprecated X-Git-Tag: 0.25.2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=295bfbb0799a63ca931f44e1de488e1bf509f640;p=thirdparty%2Fvala.git gtksourceview-3.0: Update to 3.13.90 and mark as deprecated --- diff --git a/vapi/gtksourceview-3.0.vapi b/vapi/gtksourceview-3.0.vapi index 9b6691781..c3a622bcd 100644 --- a/vapi/gtksourceview-3.0.vapi +++ b/vapi/gtksourceview-3.0.vapi @@ -1,6 +1,7 @@ /* gtksourceview-3.0.vapi generated by vapigen, do not modify. */ [CCode (cprefix = "Gtk", gir_namespace = "GtkSource", gir_version = "3.0", lower_case_cprefix = "gtk_")] +[Deprecated (replacement = "bindings distributed with gtksourceview-3.0", since = "3.13.90")] namespace Gtk { namespace SourceUtils { [CCode (cheader_filename = "gtksourceview/gtksource.h")] @@ -186,6 +187,8 @@ namespace Gtk { [GIR (name = "Encoding")] public class SourceEncoding { public Gtk.SourceEncoding copy (); + [CCode (cname = "gtk_source_encoding_get_all")] + public static GLib.SList et_all (); [CCode (cname = "gtk_source_encoding_get_current")] public static unowned Gtk.SourceEncoding et_current (); [CCode (cname = "gtk_source_encoding_get_from_charset")] @@ -195,8 +198,6 @@ namespace Gtk { public void free (); public unowned string get_charset (); public unowned string get_name (); - [CCode (cname = "gtk_source_encoding_foreach")] - public static void oreach (Gtk.SourceEncodingForeachFunc func); public string to_string (); } [CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_get_type ()")] @@ -848,6 +849,4 @@ namespace Gtk { [CCode (cname = "gtk_source_file_saver_error_quark")] public static GLib.Quark uark (); } - [CCode (cheader_filename = "gtksourceview/gtksource.h", has_target = false)] - public delegate void SourceEncodingForeachFunc (Gtk.SourceEncoding encoding, void* userdata); } diff --git a/vapi/metadata/GtkSource-3.0.metadata b/vapi/metadata/GtkSource-3.0.metadata index a02f4e0b2..7d3b0c13d 100644 --- a/vapi/metadata/GtkSource-3.0.metadata +++ b/vapi/metadata/GtkSource-3.0.metadata @@ -1,6 +1,6 @@ * name="(.+)/Source\\1" utils_* name="utils_(.+)" parent="Gtk.SourceUtils" -GtkSource name="Gtk" cprefix="Gtk" lower_case_cprefix="gtk_" +GtkSource name="Gtk" cprefix="Gtk" lower_case_cprefix="gtk_" deprecated_since="3.13.90" replacement="bindings distributed with gtksourceview-3.0" Completion .show#method name="start" CompletionProvider