diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-10-22 17:57:21 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-10-22 18:44:36 +0200 |
commit | d6a65166410107b01618db5227c982b9137fc725 (patch) | |
tree | 3b084823c2b2669939e9681398dc78cfeee26bb0 /vapi | |
parent | 554c5caba127f4e7ae239a74f9a55dfb55874101 (diff) | |
download | vala-d6a65166410107b01618db5227c982b9137fc725.tar.gz |
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/gst-editing-services-1.0.vapi | 4 | ||||
-rw-r--r-- | vapi/gtk4.vapi | 14 | ||||
-rw-r--r-- | vapi/libgsf-1.vapi | 4 |
3 files changed, 12 insertions, 10 deletions
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi index 7614e6b7d..4ead21f83 100644 --- a/vapi/gst-editing-services-1.0.vapi +++ b/vapi/gst-editing-services-1.0.vapi @@ -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 ()")] diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi index d6715285a..91ac6bf43 100644 --- a/vapi/gtk4.vapi +++ b/vapi/gtk4.vapi @@ -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")] diff --git a/vapi/libgsf-1.vapi b/vapi/libgsf-1.vapi index 4a9493a7f..476727ef0 100644 --- a/vapi/libgsf-1.vapi +++ b/vapi/libgsf-1.vapi @@ -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 { |