summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2011-12-20 16:20:18 +0100
committerAlexander Larsson <alexl@redhat.com>2011-12-20 16:21:40 +0100
commit570ceb747969b4b94d13a299b655a927aca20ffe (patch)
treea3d6b6702e988f527003e3fb3d487928ee6d10b2 /vapi
parent9cb77dc3fa472b46f4e238cc2a546d16f7198c95 (diff)
downloadgnome-contacts-570ceb747969b4b94d13a299b655a927aca20ffe.tar.gz
Make notification a pure GtkBin and move the content packing to the vala code
Diffstat (limited to 'vapi')
-rw-r--r--vapi/custom.vapi6
1 files changed, 4 insertions, 2 deletions
diff --git a/vapi/custom.vapi b/vapi/custom.vapi
index b124296..70b4854 100644
--- a/vapi/custom.vapi
+++ b/vapi/custom.vapi
@@ -41,6 +41,8 @@ namespace Contacts {
namespace Gtk {
public class Notification : Gtk.Box {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- public Notification (string msg, string action);
- public virtual signal void actioned ();
+ public Notification ();
+ public void set_timeout (uint timeout_msec);
+ public void dismiss ();
+ public virtual signal void timed_out ();
}}