From dcd203d0829dbf0785941c90b5c7ec4a3648a2ac Mon Sep 17 00:00:00 2001 From: Christian Hammond Date: Thu, 23 Oct 2008 21:39:04 +0000 Subject: [PATCH] Patch by Colin Walters to add parameter names to NotifyActionCallback for the introspection stuff. --- libnotify/notification.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libnotify/notification.h b/libnotify/notification.h index 1a6670c..383c918 100644 --- a/libnotify/notification.h +++ b/libnotify/notification.h @@ -76,7 +76,9 @@ typedef enum } NotifyUrgency; -typedef void (*NotifyActionCallback)(NotifyNotification *, gchar *, gpointer); +typedef void (*NotifyActionCallback)(NotifyNotification *notification, + gchar *action, + gpointer user_data); #define NOTIFY_ACTION_CALLBACK(func) ((NotifyActionCallback)(func))