From e88ec86c9337b0a2e1b9d3d1d207005a4c084a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 23 Jul 2024 07:43:56 +0200 Subject: [PATCH] pgo: update notify_notify() prototype, add notify_free() --- pgo/pgo.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pgo/pgo.c b/pgo/pgo.c index 7aabebb4..6c13b72a 100644 --- a/pgo/pgo.c +++ b/pgo/pgo.c @@ -151,13 +151,18 @@ void ime_enable(struct seat *seat) {} void ime_disable(struct seat *seat) {} void ime_reset_preedit(struct seat *seat) {} +bool +notify_notify(const struct terminal *term, struct notification *notif) +{ + return true; +} + void - notify_notify( - const struct terminal *term, const char *title, const char *body, - enum notify_when when, enum notify_urgency urgency) +notify_free(struct terminal *term, struct notification *notif) { } + void reaper_add(struct reaper *reaper, pid_t pid, reaper_cb cb, void *cb_data) {} void reaper_del(struct reaper *reaper, pid_t pid) {}