]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 29 Nov 2017 16:14:38 +0000 (17:14 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 29 Nov 2017 16:14:38 +0000 (17:14 +0100)
vapi/gio-2.0.vapi
vapi/gobject-introspection-1.0.vapi
vapi/packagekit-glib2.vapi
vapi/pango.vapi

index 76665b0156cd9fdbde1fa2ddb82d5f9a80fe0e04..d971cda46535eb2de6aadb884215454636ae2bcf 100644 (file)
@@ -583,7 +583,7 @@ namespace GLib {
                [CCode (has_construct_function = false)]
                protected DBusActionGroup ();
                [Version (since = "2.32")]
-               public static GLib.DBusActionGroup @get (GLib.DBusConnection connection, string bus_name, string object_path);
+               public static GLib.DBusActionGroup @get (GLib.DBusConnection connection, string? bus_name, string object_path);
        }
        [CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_annotation_info_ref", type_id = "g_dbus_annotation_info_get_type ()", unref_function = "g_dbus_annotation_info_unref")]
        [Compact]
@@ -749,7 +749,7 @@ namespace GLib {
                [CCode (has_construct_function = false)]
                protected DBusMenuModel ();
                [Version (since = "2.32")]
-               public static GLib.DBusMenuModel @get (GLib.DBusConnection connection, string bus_name, string object_path);
+               public static GLib.DBusMenuModel @get (GLib.DBusConnection connection, string? bus_name, string object_path);
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_message_get_type ()")]
        [Version (since = "2.26")]
index 768b004af1e337cdf991636c171dc6594ffccd49..a56deb0e0152fd74b5a2c90064800976f51481ef 100644 (file)
@@ -191,6 +191,7 @@ namespace GI {
                [CCode (array_length = false, array_null_terminated = true)]
                public string[] get_loaded_namespaces ();
                public int get_n_infos (string namespace_);
+               public static GLib.OptionGroup get_option_group ();
                public static unowned GLib.SList<string> get_search_path ();
                public unowned string get_shared_library (string namespace_);
                public unowned string get_typelib_path (string namespace_);
index 28f2730585d69e535079213d90ecafcc0da0829b..4b844de0d5a4eb0fe93c3edba9df251e8957b412 100644 (file)
@@ -940,6 +940,8 @@ namespace Pk {
                public bool set_error_code (Pk.Error item);
                [Version (since = "0.5.2")]
                public bool set_exit_code (Pk.Exit exit_enum);
+               [Version (since = "1.1.8")]
+               public bool set_role (Pk.Role role);
                [NoAccessorMethod]
                [Version (since = "0.5.3")]
                public uint inputs { get; set; }
index a28dfe9330d0f52f3f97db1cb7d85ee3886486de..dda57719d8782a9b539ed8c90587eea7eb6da813 100644 (file)
@@ -205,8 +205,8 @@ namespace Pango {
                [Version (since = "1.14")]
                public Pango.FontDescription describe_with_absolute_size ();
                public static void descriptions_free ([CCode (array_length_cname = "n_descs", array_length_pos = 1.1)] owned Pango.FontDescription[]? descs);
-               public virtual unowned Pango.EngineShape find_shaper (Pango.Language lang, uint32 ch);
-               public virtual Pango.Coverage get_coverage (Pango.Language lang);
+               public virtual unowned Pango.EngineShape find_shaper (Pango.Language language, uint32 ch);
+               public virtual Pango.Coverage get_coverage (Pango.Language language);
                [Version (since = "1.10")]
                public virtual unowned Pango.FontMap? get_font_map ();
                public virtual void get_glyph_extents (Pango.Glyph glyph, out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect);