]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 Oct 2019 15:57:21 +0000 (17:57 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 22 Oct 2019 16:44:36 +0000 (18:44 +0200)
vapi/gst-editing-services-1.0.vapi
vapi/gtk4.vapi
vapi/libgsf-1.vapi

index 7614e6b7df7093672e272a15a49ee565cb48d4a5..4ead21f83c09931fd4e9433d9cd49f8bc3ae6454 100644 (file)
@@ -252,8 +252,8 @@ namespace GES {
                public bool move (GES.Marker marker, Gst.ClockTime position);
                public bool remove (GES.Marker marker);
                public uint size ();
-               public signal void marker_added (uint64 object, GES.Marker p0);
-               public signal void marker_moved (uint64 object, GES.Marker p0);
+               public signal void marker_added (uint64 position, GES.Marker marker);
+               public signal void marker_moved (uint64 previous_position, uint64 new_position, GES.Marker marker);
                public signal void marker_removed (GES.Marker marker);
        }
        [CCode (cheader_filename = "ges/ges.h", type_id = "ges_multi_file_source_get_type ()")]
index d6715285a35374643beb1e89d8ad601413493d69..91ac6bf4386c772b68ac8dff4276c04d5bc6b225 100644 (file)
@@ -7634,7 +7634,7 @@ namespace Gtk {
                public unowned Pango.TabArray? get_tabs ();
                public uint16 get_text_length ();
                public bool get_visibility ();
-               public void grab_focus_without_selecting ();
+               public bool grab_focus_without_selecting ();
                public void progress_pulse ();
                public void reset_im_context ();
                public void set_activates_default (bool setting);
@@ -8456,8 +8456,6 @@ namespace Gtk {
        public class IconInfo : GLib.Object {
                [CCode (has_construct_function = false)]
                protected IconInfo ();
-               [CCode (has_construct_function = false)]
-               public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf);
                public int get_base_scale ();
                public int get_base_size ();
                public unowned string? get_filename ();
@@ -8478,13 +8476,11 @@ namespace Gtk {
                public Gtk.IconInfo? choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
                public Gtk.IconInfo? choose_icon_for_scale ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags);
                public static unowned Gtk.IconTheme get_default ();
-               public string? get_example_icon_name ();
                public static unowned Gtk.IconTheme get_for_display (Gdk.Display display);
                [CCode (array_length = false, array_null_terminated = true)]
                public int[] get_icon_sizes (string icon_name);
                public void get_search_path ([CCode (array_length_cname = "n_elements", array_length_pos = 1.1)] out string[] path);
                public bool has_icon (string icon_name);
-               public GLib.List<string> list_contexts ();
                public GLib.List<string> list_icons (string? context);
                public Gdk.Paintable? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
                public Gdk.Paintable? load_icon_for_scale (string icon_name, int size, int scale, Gtk.IconLookupFlags flags) throws GLib.Error;
@@ -10390,7 +10386,7 @@ namespace Gtk {
                public string gtk_xft_rgba { owned get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_shortcut_label_get_type ()")]
-       public class ShortcutLabel : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Orientable {
+       public class ShortcutLabel : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.ConstraintTarget {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public ShortcutLabel (string accelerator);
                public unowned string? get_accelerator ();
@@ -10839,7 +10835,7 @@ namespace Gtk {
                public bool get_visibility ();
                public bool grab_focus_without_selecting ();
                public void set_activates_default (bool activates);
-               public void set_attributes (Pango.AttrList attrs);
+               public void set_attributes (Pango.AttrList? attrs);
                public void set_buffer (Gtk.EntryBuffer buffer);
                public void set_extra_menu (GLib.MenuModel? model);
                public void set_input_hints (Gtk.InputHints hints);
@@ -13806,6 +13802,8 @@ namespace Gtk {
        public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
        public delegate int AssistantPageFunc (int current_page);
+       [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
+       public delegate void BindingCallback (Gtk.Widget widget, GLib.Variant? args);
        [CCode (cheader_filename = "gtk/gtk.h", has_typedef = false)]
        public delegate void BuildableParserEndElementFunc (Gtk.BuildableParseContext context, string element_name) throws GLib.Error;
        [CCode (cheader_filename = "gtk/gtk.h", has_typedef = false)]
@@ -14239,7 +14237,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void binding_entry_add_action_variant (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string action_name, GLib.Variant args);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public static void binding_entry_add_callback (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, owned Gtk.Callback callback);
+       public static void binding_entry_add_callback (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, [CCode (delegate_target_pos = 5.1, destroy_notify_pos = 5.2)] owned Gtk.BindingCallback callback, GLib.Variant args);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static GLib.TokenType binding_entry_add_signal_from_string (Gtk.BindingSet binding_set, string signal_desc);
        [CCode (cheader_filename = "gtk/gtk.h")]
index 4a9493a7fd31a83ebf51ca7e8c60e20579cca6c4..476727ef0fb5df6a3b5398b248bbda96fc8d8975 100644 (file)
@@ -386,6 +386,8 @@ namespace Gsf {
                [CCode (has_construct_function = false, type = "GsfOutput*")]
                public OutputGZip (Gsf.Output sink) throws GLib.Error;
                [NoAccessorMethod]
+               public int deflate_level { get; set; }
+               [NoAccessorMethod]
                public bool raw { get; construct; }
                [NoAccessorMethod]
                public Gsf.Output sink { owned get; construct; }
@@ -423,6 +425,8 @@ namespace Gsf {
                public OutputMemory ();
                [CCode (array_length = false)]
                public unowned uint8[]? get_bytes ();
+               [CCode (array_length = false)]
+               public unowned uint8[]? steal_bytes ();
        }
        [CCode (cheader_filename = "gsf/gsf.h", type_id = "gsf_output_stdio_get_type ()")]
        public class OutputStdio : Gsf.Output {