summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorErick PĂ©rez Castellanos <erick.red@gmail.com>2011-12-19 15:30:07 +0100
committerAlexander Larsson <alexl@redhat.com>2011-12-19 15:30:07 +0100
commit5b4091ab73512094edc3fced192982f5e309bb37 (patch)
treed81adb062e6a6928aef9eb8eab834b4987766579 /vapi
parent24da24bc5ab31227fc81c9e63b3ee305ea83a127 (diff)
downloadgnome-contacts-5b4091ab73512094edc3fced192982f5e309bb37.tar.gz
Initial version of GtkNotification
Diffstat (limited to 'vapi')
-rw-r--r--vapi/custom.vapi8
1 files changed, 8 insertions, 0 deletions
diff --git a/vapi/custom.vapi b/vapi/custom.vapi
index 0ec822c..b124296 100644
--- a/vapi/custom.vapi
+++ b/vapi/custom.vapi
@@ -36,3 +36,11 @@ namespace Contacts {
[CCode (cname = "eds_personal_google_group_name")]
public static unowned string? eds_personal_google_group_name ();
}
+
+[CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_", cheader_filename = "gtk-notification.h")]
+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 ();
+ }}