From: Rico Tzschichholz Date: Fri, 25 Apr 2025 08:11:31 +0000 (+0200) Subject: libnotify: Update to 0.8.4 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad05e703e9bc2e39eff891aace667cb260fc6ebd;p=thirdparty%2Fvala.git libnotify: Update to 0.8.4 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1601 --- diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi index 8fc34ef8d..467eb4237 100644 --- a/vapi/libnotify.vapi +++ b/vapi/libnotify.vapi @@ -13,6 +13,8 @@ namespace Notify { [Version (since = "0.7.10")] public unowned string? get_activation_token (); public int get_closed_reason (); + [Version (since = "0.8.4")] + public void set_app_icon (string? app_icon); [Version (since = "0.7.3")] public void set_app_name (string? app_name); public void set_category (string category); @@ -39,6 +41,9 @@ namespace Notify { public bool show () throws GLib.Error; public bool update (string summary, string? body, string? icon); [NoAccessorMethod] + [Version (since = "0.8.4")] + public string app_icon { owned get; set; } + [NoAccessorMethod] [Version (since = "0.7.3")] public string app_name { owned get; set; } [NoAccessorMethod] @@ -80,6 +85,9 @@ namespace Notify { [CCode (cheader_filename = "libnotify/notify.h", cname = "NOTIFY_VERSION_MINOR")] public const int VERSION_MINOR; [CCode (cheader_filename = "libnotify/notify.h")] + [Version (since = "0.8.4")] + public static unowned string get_app_icon (); + [CCode (cheader_filename = "libnotify/notify.h")] public static unowned string get_app_name (); [CCode (cheader_filename = "libnotify/notify.h")] public static GLib.List get_server_caps (); @@ -90,6 +98,9 @@ namespace Notify { [CCode (cheader_filename = "libnotify/notify.h")] public static bool is_initted (); [CCode (cheader_filename = "libnotify/notify.h")] + [Version (since = "0.8.4")] + public static void set_app_icon (string? app_icon); + [CCode (cheader_filename = "libnotify/notify.h")] public static void set_app_name (string app_name); [CCode (cheader_filename = "libnotify/notify.h")] public static void uninit ();