pgo: update notify_notify() prototype, add notify_free()

This commit is contained in:
Daniel Eklöf 2024-07-23 07:43:56 +02:00
parent 7268ee9078
commit e88ec86c93
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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) {}