[vala] vapi: Update GIR-based bindings



commit 0c5dcd2923e9396d73360049492d6630957106ee
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri May 22 18:57:25 2015 +0200

    vapi: Update GIR-based bindings

 vapi/gio-2.0.vapi  |    4 ++--
 vapi/libgdata.vapi |    2 +-
 vapi/pango.vapi    |   34 +++++++++++++++++++++-------------
 3 files changed, 24 insertions(+), 16 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2ca74a3..a2138e3 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1565,8 +1565,8 @@ namespace GLib {
                public unowned string get_scheme ();
                [CCode (has_construct_function = false, type = "GSocketConnectable*")]
                public NetworkAddress.loopback (uint16 port);
-               public static GLib.SocketConnectable parse (string host_and_port, uint16 default_port) throws 
GLib.Error;
-               public static GLib.SocketConnectable parse_uri (string uri, uint16 default_port) throws 
GLib.Error;
+               public static GLib.NetworkAddress parse (string host_and_port, uint16 default_port) throws 
GLib.Error;
+               public static GLib.NetworkAddress parse_uri (string uri, uint16 default_port) throws 
GLib.Error;
                public string hostname { get; construct; }
                public uint port { get; construct; }
                public string scheme { get; construct; }
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index ff39ff6..1aa19be 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -1947,7 +1947,7 @@ namespace GData {
        }
        [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_access_handler_get_type ()")]
        public interface AccessHandler : GData.Entry {
-               public GData.Feed get_rules (GData.Service service, GLib.Cancellable? cancellable, 
GData.QueryProgressCallback? progress_callback) throws GLib.Error;
+               public abstract GData.Feed get_rules (GData.Service service, GLib.Cancellable? cancellable, 
GData.QueryProgressCallback? progress_callback) throws GLib.Error;
                public async void get_rules_async (GData.Service service, GLib.Cancellable? cancellable, 
owned GData.QueryProgressCallback? progress_callback);
        }
        [CCode (cheader_filename = "gdata/gdata.h", type_cname = "GDataAuthorizerInterface", type_id = 
"gdata_authorizer_get_type ()")]
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 60c0bd5..24c9d10 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -158,13 +158,13 @@ namespace Pango {
                public void unref ();
        }
        [CCode (cheader_filename = "pango/pango.h", type_id = "pango_engine_get_type ()")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public abstract class Engine : GLib.Object {
                [CCode (has_construct_function = false)]
                protected Engine ();
        }
        [CCode (cheader_filename = "pango/pango.h", type_id = "pango_engine_lang_get_type ()")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public abstract class EngineLang : Pango.Engine {
                [CCode (has_construct_function = false)]
                protected EngineLang ();
@@ -172,7 +172,7 @@ namespace Pango {
                public virtual void script_break (string text, int len, Pango.Analysis analysis, 
Pango.LogAttr attrs, int attrs_len);
        }
        [CCode (cheader_filename = "pango/pango.h", type_id = "pango_engine_shape_get_type ()")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public abstract class EngineShape : Pango.Engine {
                [CCode (has_construct_function = false)]
                protected EngineShape ();
@@ -256,7 +256,7 @@ namespace Pango {
                public virtual void changed ();
                public Pango.Context create_context ();
                public virtual uint get_serial ();
-               [Deprecated (since = "1.37")]
+               [Deprecated (since = "1.38")]
                public unowned string get_shape_engine_type ();
                public virtual void list_families ([CCode (array_length_cname = "n_families", 
array_length_pos = 1.1)] out Pango.FontFamily[] families);
                public virtual Pango.Font? load_font (Pango.Context context, Pango.FontDescription desc);
@@ -547,7 +547,7 @@ namespace Pango {
                public string to_string ();
        }
        [CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public struct EngineInfo {
                public weak string id;
                public weak string engine_type;
@@ -556,7 +556,7 @@ namespace Pango {
                public int n_scripts;
        }
        [CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public struct EngineScriptInfo {
                public Pango.Script script;
                public weak string langs;
@@ -933,10 +933,10 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING")]
        public const int ATTR_INDEX_FROM_TEXT_BEGINNING;
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ENGINE_TYPE_LANG")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public const string ENGINE_TYPE_LANG;
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_ENGINE_TYPE_SHAPE")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public const string ENGINE_TYPE_SHAPE;
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_GLYPH_EMPTY")]
        public const Pango.Glyph GLYPH_EMPTY;
@@ -945,7 +945,7 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_GLYPH_UNKNOWN_FLAG")]
        public const Pango.Glyph GLYPH_UNKNOWN_FLAG;
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_RENDER_TYPE_NONE")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public const string RENDER_TYPE_NONE;
        [CCode (cheader_filename = "pango/pango.h", cname = "PANGO_SCALE")]
        public const int SCALE;
@@ -1007,10 +1007,10 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static void @break (string text, int length, Pango.Analysis analysis, [CCode 
(array_length_cname = "attrs_len", array_length_pos = 4.1)] Pango.LogAttr[] attrs);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public static string? config_key_get (string key);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public static string? config_key_get_system (string key);
        [CCode (cheader_filename = "pango/pango.h")]
        public static void default_break (string text, int length, Pango.Analysis? analysis, Pango.LogAttr 
attrs, int attrs_len);
@@ -1021,14 +1021,14 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static void find_paragraph_boundary (string text, int length, out int 
paragraph_delimiter_index, out int next_paragraph_start);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public static unowned string get_lib_subdirectory ();
        [CCode (cheader_filename = "pango/pango.h")]
        public static void get_log_attrs (string text, int length, int level, Pango.Language language, [CCode 
(array_length_cname = "attrs_len", array_length_pos = 5.1)] Pango.LogAttr[] log_attrs);
        [CCode (cheader_filename = "pango/pango.h")]
        public static bool get_mirror_char (unichar ch, unichar mirrored_ch);
        [CCode (cheader_filename = "pango/pango.h")]
-       [Deprecated (since = "1.37")]
+       [Deprecated (since = "1.38")]
        public static unowned string get_sysconf_subdirectory ();
        [CCode (cheader_filename = "pango/pango.h")]
        [Deprecated (replacement = "Pango.Gravity.get_for_matrix", since = "vala-0.18")]
@@ -1058,6 +1058,7 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static unowned GLib.MarkupParseContext markup_parser_new (unichar accel_marker);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static bool parse_enum (GLib.Type type, string? str, out int value, bool warn, out string 
possible_values);
        [CCode (cheader_filename = "pango/pango.h")]
        public static bool parse_markup (string markup_text, int length, unichar accel_marker, out 
Pango.AttrList attr_list, out string text, out unichar accel_char) throws GLib.Error;
@@ -1072,14 +1073,18 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static void quantize_line_geometry (ref int thickness, ref int position);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static int read_line ([CCode (type = "FILE*")] GLib.FileStream stream, GLib.StringBuilder str);
        [CCode (cheader_filename = "pango/pango.h")]
        public static GLib.List<Pango.Item> reorder_items (GLib.List<Pango.Item> logical_items);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static bool scan_int (ref string pos, out int @out);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static bool scan_string (ref string pos, GLib.StringBuilder @out);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static bool scan_word (ref string pos, out unowned GLib.StringBuilder @out);
        [CCode (cheader_filename = "pango/pango.h")]
        [Deprecated (replacement = "Pango.Script.for_unichar", since = "vala-0.18")]
@@ -1092,10 +1097,13 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h")]
        public static void shape_full (string item_text, int item_length, string? paragraph_text, int 
paragraph_length, Pango.Analysis analysis, Pango.GlyphString glyphs);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static bool skip_space (ref string pos);
        [CCode (array_length = false, array_null_terminated = true, cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static string[] split_file_list (string str);
        [CCode (cheader_filename = "pango/pango.h")]
+       [Deprecated (since = "1.38")]
        public static string trim_string (string str);
        [CCode (cheader_filename = "pango/pango.h")]
        public static Pango.Direction unichar_direction (unichar ch);


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