[vala] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] vapi: Update GIR-based bindings
- Date: Sat, 17 Jun 2017 14:44:38 +0000 (UTC)
commit 1ac0e9d3b5891f258823cd6dc7db742eede85028
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Jun 17 16:42:51 2017 +0200
vapi: Update GIR-based bindings
vapi/gtk+-4.0.vapi | 5 +++++
vapi/metadata/Gio-2.0-custom.vala | 1 +
vapi/metadata/Gio-2.0.metadata | 4 +++-
3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 3b529ef..006f18f 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 6462bd1..768ea4f 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 84d660d..6e6dc0d 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]