aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-23 10:15:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-23 10:15:50 +0000
commit50efd9726d041b00d3966431b8e6957a3739b33c (patch)
tree5c05f86be995a90106eb5d26b34d80f8065a3ea2
parentnotify: add_icon(): check return value of write() (diff)
pgo: updated stubs for notification functions
-rw-r--r--pgo/pgo.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/pgo/pgo.c b/pgo/pgo.c
index 6c13b72a..6dc0dd10 100644
--- a/pgo/pgo.c
+++ b/pgo/pgo.c
@@ -152,7 +152,7 @@ void ime_disable(struct seat *seat) {}
void ime_reset_preedit(struct seat *seat) {}
bool
-notify_notify(const struct terminal *term, struct notification *notif)
+notify_notify(struct terminal *term, struct notification *notif)
{
return true;
}
@@ -162,6 +162,22 @@ notify_free(struct terminal *term, struct notification *notif)
{
}
+void
+notify_icon_add(struct terminal *term, const char *id,
+ const char *symbolic_name, const uint8_t *data,
+ size_t data_sz)
+{
+}
+
+void
+notify_icon_del(struct terminal *term, const char *id)
+{
+}
+
+void
+notify_icon_free(struct notification_icon *icon)
+{
+}
void reaper_add(struct reaper *reaper, pid_t pid, reaper_cb cb, void *cb_data) {}
void reaper_del(struct reaper *reaper, pid_t pid) {}