From: Rico Tzschichholz Date: Sat, 17 Jun 2017 14:42:51 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.37.1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac0e9d3b5891f258823cd6dc7db742eede85028;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi index 3b529efe0..006f18fe4 100644 --- a/vapi/gtk+-4.0.vapi +++ b/vapi/gtk+-4.0.vapi @@ -8390,11 +8390,16 @@ namespace Gtk { [Version (since = "3.92")] public CenterBox (); [Version (since = "3.92")] + public Gtk.BaselinePosition get_baseline_position (); + [Version (since = "3.92")] + public void set_baseline_position (Gtk.BaselinePosition position); + [Version (since = "3.92")] public void set_center_widget (Gtk.Widget child); [Version (since = "3.92")] public void set_end_widget (Gtk.Widget child); [Version (since = "3.92")] public void set_start_widget (Gtk.Widget child); + public Gtk.BaselinePosition baseline_position { get; set; } } [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_button_get_type ()")] public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable { diff --git a/vapi/metadata/Gio-2.0-custom.vala b/vapi/metadata/Gio-2.0-custom.vala index 6462bd13b..768ea4f9f 100644 --- a/vapi/metadata/Gio-2.0-custom.vala +++ b/vapi/metadata/Gio-2.0-custom.vala @@ -173,6 +173,7 @@ namespace GLib { public abstract bool prefix_matches (GLib.File file); [NoWrapper, Version (deprecated_since = "vala-0.16", replacement = "read")] public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable = null) throws GLib.Error; + public virtual async bool copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null, GLib.FileProgressCallback? progress_callback = null) throws GLib.Error; } public interface Icon : GLib.Object { diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index 84d660d5f..6e6dc0d44 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -258,7 +258,9 @@ ZlibCompressor Converter .convert.outbuf type="uint8[]" array_length_idx=3 File - .copy_async skip=false + // FIXME: gir-parser gets confused by async *and* notified callbacks at the same time + .copy_async skip + .copy_finish skip .copy*.progress_callback default=null .get_basename nullable .get_parent nullable