diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-07-22 09:54:02 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-07-22 10:07:59 +0200 |
commit | af65169925c598f1757a67ba88ab66eff5d39acf (patch) | |
tree | e23709ab89de3e84b7e627ce768702b9f10e9c03 | |
parent | 12cda9e3b569d21d82772eb4b649759ae84a421e (diff) | |
download | vala-af65169925c598f1757a67ba88ab66eff5d39acf.tar.gz |
vapi: Update GIR-based bindings
-rw-r--r-- | vapi/atspi-2.vapi | 7 | ||||
-rw-r--r-- | vapi/gnome-desktop-3.0.vapi | 7 | ||||
-rw-r--r-- | vapi/gtk4.vapi | 2 | ||||
-rw-r--r-- | vapi/metadata/GnomeDesktop-3.0-custom.vala | 4 | ||||
-rw-r--r-- | vapi/metadata/GnomeDesktop-3.0.metadata | 2 |
5 files changed, 17 insertions, 5 deletions
diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi index e300896f5..2889ccb47 100644 --- a/vapi/atspi-2.vapi +++ b/vapi/atspi-2.vapi @@ -75,6 +75,7 @@ namespace Atspi { public Atspi.Value get_value (); public Atspi.Value get_value_iface (); public void set_cache_mask (Atspi.Cache mask); + public virtual signal void region_changed (int current_offset, int last_offset); } [CCode (cheader_filename = "atspi/atspi.h", type_id = "atspi_device_listener_get_type ()")] public class DeviceListener : GLib.Object { @@ -95,6 +96,7 @@ namespace Atspi { public GLib.Value any_data; public int detail1; public int detail2; + public weak Atspi.Accessible sender; public weak Atspi.Accessible source; public weak string type; public static void main (); @@ -366,7 +368,6 @@ namespace Atspi { public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error; public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error; public Atspi.TextRange get_text_before_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error; - public void notify_reading_position (int startOffset, int endOffset); public bool remove_selection (int selection_num) throws GLib.Error; public bool scroll_substring_to (int start_offset, int end_offset, Atspi.ScrollType type) throws GLib.Error; public bool scroll_substring_to_point (int start_offset, int end_offset, Atspi.CoordType coords, int x, int y) throws GLib.Error; @@ -827,6 +828,8 @@ namespace Atspi { public const string DBUS_INTERFACE_EVENT_MOUSE; [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_OBJECT")] public const string DBUS_INTERFACE_EVENT_OBJECT; + [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_EVENT_SCREEN_READER")] + public const string DBUS_INTERFACE_EVENT_SCREEN_READER; [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_HYPERLINK")] public const string DBUS_INTERFACE_HYPERLINK; [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_HYPERTEXT")] @@ -835,8 +838,6 @@ namespace Atspi { public const string DBUS_INTERFACE_IMAGE; [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_REGISTRY")] public const string DBUS_INTERFACE_REGISTRY; - [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SCREEN_READER")] - public const string DBUS_INTERFACE_SCREEN_READER; [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SELECTION")] public const string DBUS_INTERFACE_SELECTION; [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_DBUS_INTERFACE_SOCKET")] diff --git a/vapi/gnome-desktop-3.0.vapi b/vapi/gnome-desktop-3.0.vapi index 7d1048ca0..270cd84a8 100644 --- a/vapi/gnome-desktop-3.0.vapi +++ b/vapi/gnome-desktop-3.0.vapi @@ -29,6 +29,9 @@ namespace Gnome { [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_language_from_locale")] [Version (since = "3.8")] public static string get_language_from_locale (string locale, string? translation); + [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_get_translated_modifier")] + [Version (since = "3.34")] + public static string get_translated_modifier (string modifier, string? translation); [CCode (cheader_filename = "libgnome-desktop/gnome-languages.h", cname = "gnome_language_has_translations")] [Version (since = "3.8")] public static bool language_has_translations (string code); @@ -93,6 +96,10 @@ namespace Gnome { public bool load () throws GLib.Error; public void load_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback); [NoAccessorMethod] + [Version (since = "3.34")] + public GLib.File file { owned get; construct; } + [NoAccessorMethod] + [Version (deprecated = true, deprecated_since = "3.34")] public string filename { owned get; construct; } public bool has_multiple_sizes { get; } public double start_time { get; } diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi index 0b768ec18..b67e22be6 100644 --- a/vapi/gtk4.vapi +++ b/vapi/gtk4.vapi @@ -11925,10 +11925,8 @@ namespace Gtk { [CCode (cname = "gtk_widget_class_query_action")] public class bool query_action (uint index_, GLib.Type owner, string action_name, GLib.VariantType parameter_type, string property_name); public void queue_allocate (); - public void queue_compute_expand (); public void queue_draw (); public void queue_resize (); - public void queue_resize_no_redraw (); public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods); public void remove_controller (Gtk.EventController controller); public void remove_mnemonic_label (Gtk.Widget label); diff --git a/vapi/metadata/GnomeDesktop-3.0-custom.vala b/vapi/metadata/GnomeDesktop-3.0-custom.vala index 76347b31e..d06a5d2d4 100644 --- a/vapi/metadata/GnomeDesktop-3.0-custom.vala +++ b/vapi/metadata/GnomeDesktop-3.0-custom.vala @@ -2,5 +2,9 @@ namespace Gnome { [CCode (cheader_filename = "libgnome-desktop/gnome-bg-slide-show.h", type_id = "gnome_bg_slide_show_get_type ()")] public class BGSlideShow : GLib.Object { public void load_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback); + + [NoAccessorMethod] + [Version (deprecated = true, deprecated_since = "3.34")] + public string filename { owned get; construct; } } } diff --git a/vapi/metadata/GnomeDesktop-3.0.metadata b/vapi/metadata/GnomeDesktop-3.0.metadata index 4aa8c4dd0..af2b174f4 100644 --- a/vapi/metadata/GnomeDesktop-3.0.metadata +++ b/vapi/metadata/GnomeDesktop-3.0.metadata @@ -3,6 +3,7 @@ BGCrossfade cheader_filename="libgnome-desktop/gnome-bg-crossfade.h" BGSlideShow cheader_filename="libgnome-desktop/gnome-bg-slide-show.h" BGSlideShow .load_async skip + .file since="3.34" DesktopThumbnail* cheader_filename="libgnome-desktop/gnome-desktop-thumbnail.h" desktop_thumbnail_* parent="Gnome.DesktopThumbnail" name="desktop_thumbnail_(.+)" cheader_filename="libgnome-desktop/gnome-desktop-thumbnail.h" @@ -16,6 +17,7 @@ language_has_translations parent="Gnome.Languages" cheader_filename="libgnome-de get_language_from_code parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" get_country_from_code parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" get_input_source_from_locale parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" +get_translated_modifier parent="Gnome.Languages" cheader_filename="libgnome-desktop/gnome-languages.h" IdleMonitor* cheader_filename="libgnome-desktop/gnome-idle-monitor.h" |