summaryrefslogtreecommitdiff
path: root/src/main-gtk2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:25 +0100
committerBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:25 +0100
commit0630934308c31d6c459bbf3a2c07e6f142dcbcb8 (patch)
tree14e589469b79e3f03524c11edef97ff7c56ba5fa /src/main-gtk2.c
parent1d45c4a36e0e757120ba69a38b3f8e96749a65ee (diff)
Remove effectively dead TERM_XTRA_* handling code
- We remove TERM_XTRA_ALIVE and the corresponding code because there's no code which actually invokes this hook. - We remove TERM_XTRA_SHAPE since there's no actual handler code for this in any of the front ends -- therefore invoking these hooks can have no effect in the existing code.
Diffstat (limited to 'src/main-gtk2.c')
-rw-r--r--src/main-gtk2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main-gtk2.c b/src/main-gtk2.c
index 5be979be..5c67ca4d 100644
--- a/src/main-gtk2.c
+++ b/src/main-gtk2.c
@@ -480,10 +480,6 @@ static void Term_xtra_gtk(void *term_data_ctx, int n, int v)
return;
}
- /* Handle change in the "level" */
- case TERM_XTRA_LEVEL:
- return;
-
/* Clear the screen */
case TERM_XTRA_CLEAR:
Term_clear_gtk(td);