aboutsummaryrefslogtreecommitdiff
path: root/notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'notify.h')
-rw-r--r--notify.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/notify.h b/notify.h
index b40522f58..54fc57cec 100644
--- a/notify.h
+++ b/notify.h
@@ -20,7 +20,7 @@ typedef struct Notifier Notifier;
struct Notifier
{
- void (*notify)(Notifier *notifier);
+ void (*notify)(Notifier *notifier, void *data);
QTAILQ_ENTRY(Notifier) node;
};
@@ -38,6 +38,6 @@ void notifier_list_add(NotifierList *list, Notifier *notifier);
void notifier_list_remove(NotifierList *list, Notifier *notifier);
-void notifier_list_notify(NotifierList *list);
+void notifier_list_notify(NotifierList *list, void *data);
#endif