[vala/0.38] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.38] vapi: Update GIR-based bindings
- Date: Wed, 29 Nov 2017 16:20:49 +0000 (UTC)
commit 7d158a257c47e374622a8031e952afffc1c39c9f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Nov 29 17:14:38 2017 +0100
vapi: Update GIR-based bindings
vapi/gio-2.0.vapi | 4 ++--
vapi/gobject-introspection-1.0.vapi | 1 +
vapi/packagekit-glib2.vapi | 2 ++
vapi/pango.vapi | 4 ++--
4 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 76665b0..d971cda 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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")]
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index 768b004..a56deb0 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -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_);
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 28f2730..4b844de 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -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; }
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index a28dfe9..dda5771 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]