[vala] gtksourceview-3.0: Update to 3.13.90 and mark as deprecated
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtksourceview-3.0: Update to 3.13.90 and mark as deprecated
- Date: Wed, 20 Aug 2014 09:01:39 +0000 (UTC)
commit 295bfbb0799a63ca931f44e1de488e1bf509f640
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Aug 20 11:00:01 2014 +0200
gtksourceview-3.0: Update to 3.13.90 and mark as deprecated
vapi/gtksourceview-3.0.vapi | 7 +++----
vapi/metadata/GtkSource-3.0.metadata | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtksourceview-3.0.vapi b/vapi/gtksourceview-3.0.vapi
index 9b66917..c3a622b 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<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);
}
diff --git a/vapi/metadata/GtkSource-3.0.metadata b/vapi/metadata/GtkSource-3.0.metadata
index a02f4e0..7d3b0c1 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]