]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtksourceview-3.0: Update to 3.13.90 and mark as deprecated
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Aug 2014 09:00:01 +0000 (11:00 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 20 Aug 2014 09:00:01 +0000 (11:00 +0200)
vapi/gtksourceview-3.0.vapi
vapi/metadata/GtkSource-3.0.metadata

index 9b669178145c570b343bdefcb1c3276219fd0fdb..c3a622bcdbdabbd77546fe60713465e35d1aed58 100644 (file)
@@ -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<weak Gtk.SourceEncoding> 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);
 }
index a02f4e0b2d7c26cead5d96171a8bcc566a3dc5e0..7d3b0c13d50d451df0d04019ae17d02aa6e425c2 100644 (file)
@@ -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