From 4d35d0d5253f482ea845508e6cfb262596a7305e Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Mon, 8 Nov 2010 02:43:46 -0800 Subject: libnotify: Update to 0.7.0 Fixes bug 633819. --- vapi/libnotify.vapi | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'vapi/libnotify.vapi') diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi index f9019779f..d919e360f 100644 --- a/vapi/libnotify.vapi +++ b/vapi/libnotify.vapi @@ -5,16 +5,14 @@ namespace Notify { [CCode (cheader_filename = "libnotify/notify.h")] public class Notification : GLib.Object { [CCode (has_construct_function = false)] - public Notification (string summary, string? body, string? icon, Gtk.Widget? attach); + public Notification (string summary, string? body, string? icon); public void add_action (string action, string label, owned Notify.ActionCallback callback); - public void attach_to_status_icon (Gtk.StatusIcon status_icon); - public void attach_to_widget (Gtk.Widget attach); public void clear_actions (); public void clear_hints (); public bool close () throws GLib.Error; public int get_closed_reason (); public void set_category (string category); - public void set_geometry_hints (Gdk.Screen screen, int x, int y); + public void set_hint (string key, GLib.Variant value); public void set_hint_byte (string key, uchar value); public void set_hint_byte_array (string key, uchar[] value, size_t len); public void set_hint_double (string key, double value); @@ -27,10 +25,6 @@ namespace Notify { public void set_urgency (Notify.Urgency urgency); public bool show () throws GLib.Error; public bool update (string summary, string body, string icon); - [CCode (has_construct_function = false)] - public Notification.with_status_icon (string summary, string body, string icon, Gtk.StatusIcon status_icon); - [NoAccessorMethod] - public Gtk.Widget attach_widget { owned get; set construct; } [NoAccessorMethod] public string body { owned get; set construct; } public int closed_reason { get; } @@ -39,8 +33,6 @@ namespace Notify { [NoAccessorMethod] public int id { get; set construct; } [NoAccessorMethod] - public Gtk.StatusIcon status_icon { owned get; set construct; } - [NoAccessorMethod] public string summary { owned get; set construct; } public virtual signal void closed (); } @@ -57,6 +49,12 @@ namespace Notify { [CCode (cheader_filename = "libnotify/notify.h")] public const int EXPIRES_NEVER; [CCode (cheader_filename = "libnotify/notify.h")] + public const int VERSION_MAJOR; + [CCode (cheader_filename = "libnotify/notify.h")] + public const int VERSION_MICRO; + [CCode (cheader_filename = "libnotify/notify.h")] + public const int VERSION_MINOR; + [CCode (cheader_filename = "libnotify/notify.h")] public static unowned string get_app_name (); [CCode (cheader_filename = "libnotify/notify.h")] public static unowned GLib.List get_server_caps (); -- cgit v1.2.1