aboutsummaryrefslogtreecommitdiff
path: root/src/notification-menuitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/notification-menuitem.h')
-rw-r--r--src/notification-menuitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notification-menuitem.h b/src/notification-menuitem.h
index f76704a..11421c1 100644
--- a/src/notification-menuitem.h
+++ b/src/notification-menuitem.h
@@ -29,6 +29,8 @@ struct _NotificationMenuItem
struct _NotificationMenuItemClass
{
GtkMenuItemClass parent_class;
+
+ void (* clicked) (NotificationMenuItem *menuitem);
};
struct _NotificationMenuItemPrivate {
@@ -39,6 +41,8 @@ struct _NotificationMenuItemPrivate {
#define NOTIFICATION_MENUITEM_GET_PRIVATE(o) \
(G_TYPE_INSTANCE_GET_PRIVATE ((o), NOTIFICATION_MENUITEM_TYPE, NotificationMenuItemPrivate))
+#define NOTIFICATION_MENUITEM_SIGNAL_CLICKED "clicked"
+
GType notification_menuitem_get_type(void);
GtkWidget *notification_menuitem_new(void);
void notification_menuitem_set_from_notification(NotificationMenuItem *self, Notification *note);