]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 17 Jun 2017 14:42:51 +0000 (16:42 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 17 Jun 2017 14:42:51 +0000 (16:42 +0200)
vapi/gtk+-4.0.vapi
vapi/metadata/Gio-2.0-custom.vala
vapi/metadata/Gio-2.0.metadata

index 3b529efe0e5782ed6e8fd8cad1085db99d787872..006f18fe442df8746899e958a070dfc80d41c06f 100644 (file)
@@ -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 {
index 6462bd13b590434323629ecfde97a6d9b66d6777..768ea4f9f2392bf8a60ae6a1eaa354a6846d9509 100644 (file)
@@ -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 {
index 84d660d5f03da10e8a0adcd0a00921a26dce6fbe..6e6dc0d443f937e7e3a6e1f4df8b5eaa78cab0da 100644 (file)
@@ -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