summaryrefslogtreecommitdiff
path: root/vapi/libnotify.vapi
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2010-11-08 02:43:46 -0800
committerEvan Nemerson <evan@coeus-group.com>2010-11-08 02:43:46 -0800
commit4d35d0d5253f482ea845508e6cfb262596a7305e (patch)
tree7f97afe96b6aa4e7c1055ff1ebc40b9d64fb096e /vapi/libnotify.vapi
parent6a42200a93699aaa0497d2bfb56a1cda1e9fefc8 (diff)
downloadvala-4d35d0d5253f482ea845508e6cfb262596a7305e.tar.gz
libnotify: Update to 0.7.0
Fixes bug 633819.
Diffstat (limited to 'vapi/libnotify.vapi')
-rw-r--r--vapi/libnotify.vapi18
1 files changed, 8 insertions, 10 deletions
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 ();