diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-11-13 16:42:43 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-11-13 17:01:24 +0100 |
commit | 31191b683b4ff425a2b028c96dae4f51c8bf35a1 (patch) | |
tree | 7204640b09945347876c0f17250b50b64310896d /vapi/gnome-desktop-4.vapi | |
parent | 3c3ee793b499be959b3ed7f1f74014713382a438 (diff) | |
download | vala-31191b683b4ff425a2b028c96dae4f51c8bf35a1.tar.gz |
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/gnome-desktop-4.vapi')
-rw-r--r-- | vapi/gnome-desktop-4.vapi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vapi/gnome-desktop-4.vapi b/vapi/gnome-desktop-4.vapi index 04ef5b299..6378f4920 100644 --- a/vapi/gnome-desktop-4.vapi +++ b/vapi/gnome-desktop-4.vapi @@ -50,18 +50,18 @@ namespace Gnome { [Version (since = "2.2")] public bool can_thumbnail (string uri, string mime_type, long mtime); [Version (since = "2.2")] - public void create_failed_thumbnail (string uri, long mtime); - public async void create_failed_thumbnail_async (string uri, long original_mtime, GLib.Cancellable? cancellable) throws GLib.Error; - [Version (since = "2.2")] - public Gdk.Pixbuf generate_thumbnail (string uri, string mime_type); + public bool create_failed_thumbnail (string uri, long mtime, GLib.Cancellable? cancellable = null) throws GLib.Error; + public async bool create_failed_thumbnail_async (string uri, long original_mtime, GLib.Cancellable? cancellable) throws GLib.Error; + [Version (since = "42.0")] + public Gdk.Pixbuf generate_thumbnail (string uri, string mime_type, GLib.Cancellable? cancellable = null) throws GLib.Error; public async Gdk.Pixbuf generate_thumbnail_async (string uri, string mime_type, GLib.Cancellable? cancellable) throws GLib.Error; [Version (since = "2.2")] public bool has_valid_failed_thumbnail (string uri, long mtime); [Version (since = "2.2")] public string lookup (string uri, long mtime); [Version (since = "2.2")] - public void save_thumbnail (Gdk.Pixbuf thumbnail, string uri, long original_mtime); - public async void save_thumbnail_async (Gdk.Pixbuf thumbnail, string uri, long original_mtime, GLib.Cancellable? cancellable) throws GLib.Error; + public bool save_thumbnail (Gdk.Pixbuf thumbnail, string uri, long original_mtime, GLib.Cancellable? cancellable = null) throws GLib.Error; + public async bool save_thumbnail_async (Gdk.Pixbuf thumbnail, string uri, long original_mtime, GLib.Cancellable? cancellable) throws GLib.Error; } [CCode (cheader_filename = "libgnome-desktop/gnome-idle-monitor.h", type_id = "gnome_idle_monitor_get_type ()")] public class IdleMonitor : GLib.Object, GLib.Initable { |