From 570ceb747969b4b94d13a299b655a927aca20ffe Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 20 Dec 2011 16:20:18 +0100 Subject: Make notification a pure GtkBin and move the content packing to the vala code --- vapi/custom.vapi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vapi') 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 (); }} -- cgit v1.2.1