summaryrefslogtreecommitdiff
path: root/vapi/libnotify.vapi
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2010-07-19 02:24:26 -0700
committerEvan Nemerson <evan@coeus-group.com>2010-07-19 02:24:26 -0700
commit1364c251d74e171872939109f30b87276a1fb5c9 (patch)
tree9d10ce6b3f33d6a187d14ef0b4e4870ccaa76bf0 /vapi/libnotify.vapi
parent54d4dc626514f5c82f76c0ef6ff8967f6d3269c1 (diff)
downloadvala-1364c251d74e171872939109f30b87276a1fb5c9.tar.gz
Update several bindings to newer versions
atk to 1.30.0, gconf-2.0 to 2.28.1, gdk-2.0 to 2.21.2, gdk-x11-2.0 to 2.21.2, gio-2.0 to 2.25.11, gnome-vfs-2.0 to 2.24.3, json-glib-1.0 to 0.11.1, libgnome-menu to 2.30.0, libnotify to 0.5.0, libsoup-2.4 to 2.30.2, libwnck-1.0 to 2.30.0
Diffstat (limited to 'vapi/libnotify.vapi')
-rw-r--r--vapi/libnotify.vapi10
1 files changed, 8 insertions, 2 deletions
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi
index 9d5aade1d..f9019779f 100644
--- a/vapi/libnotify.vapi
+++ b/vapi/libnotify.vapi
@@ -12,6 +12,7 @@ namespace Notify {
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_byte (string key, uchar value);
@@ -19,7 +20,9 @@ namespace Notify {
public void set_hint_double (string key, double value);
public void set_hint_int32 (string key, int value);
public void set_hint_string (string key, string value);
+ public void set_hint_uint32 (string key, uint value);
public void set_icon_from_pixbuf (Gdk.Pixbuf icon);
+ public void set_image_from_pixbuf (Gdk.Pixbuf image);
public void set_timeout (int timeout);
public void set_urgency (Notify.Urgency urgency);
public bool show () throws GLib.Error;
@@ -30,22 +33,25 @@ namespace Notify {
public Gtk.Widget attach_widget { owned get; set construct; }
[NoAccessorMethod]
public string body { owned get; set construct; }
+ public int closed_reason { get; }
[NoAccessorMethod]
public string icon_name { owned get; set construct; }
[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 ();
}
- [CCode (cprefix = "NOTIFY_URGENCY_", has_type_id = false, cheader_filename = "libnotify/notify.h")]
+ [CCode (cprefix = "NOTIFY_URGENCY_", cheader_filename = "libnotify/notify.h")]
public enum Urgency {
LOW,
NORMAL,
CRITICAL
}
[CCode (cheader_filename = "libnotify/notify.h")]
- public delegate void ActionCallback (Notify.Notification p1, string p2);
+ public delegate void ActionCallback (Notify.Notification notification, string action);
[CCode (cheader_filename = "libnotify/notify.h")]
public const int EXPIRES_DEFAULT;
[CCode (cheader_filename = "libnotify/notify.h")]