]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libnotify: Update to 0.8.4
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 25 Apr 2025 08:11:31 +0000 (10:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 25 Apr 2025 08:17:35 +0000 (10:17 +0200)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1601

vapi/libnotify.vapi

index 8fc34ef8dab06051b28ba5d2f85c43a9c935af28..467eb423742a669ff1219fdbc494c932036b9783 100644 (file)
@@ -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<string> 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 ();