aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-30 16:57:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-30 16:58:54 +0000
commitf6533a71e4996f2f4cd45336966cebf6c3f34b1e (patch)
treec3c85c360a4cd690764707a1254bc10a23902508 /terminal.h
parentreadme: remove 'explanation' of server/daemon mode (diff)
user-notification: 'productify' the user-warning system
* Rename user_warning to user_notification * Add warning and error types (in addition to the existing deprecated) * Simplify logic when emitting a user notification after forking; we don't need to copy the notification data since we're in a new process and have total control over that memory.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/terminal.h b/terminal.h
index db3ec555..31316e37 100644
--- a/terminal.h
+++ b/terminal.h
@@ -206,12 +206,6 @@ enum term_surface {
TERM_SURF_BUTTON_CLOSE,
};
-struct user_warning {
- enum { USER_WARNING_DEPRECATION } kind;
- char *text;
-};
-typedef tll(struct user_warning) user_warning_list_t;
-
struct terminal {
struct fdm *fdm;
struct reaper *reaper;