aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/spawn.c
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-08-23 12:27:44 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-08-23 12:27:44 +0200
commit6aa97a68a85b83267de597bfb30b70c04b7de97b (patch)
tree8fbe28ff8a3848630c0ae78e78f3929b02ed7a95 /src/spawn.c
parent32122651bdb51006edce2be3586dd09179bed52f (diff)
curses/UNIX: improved error handling in teco_interface_{set,get}_clipboard()
Now use the teco_spawn_check_wait_status(), which was previously in spawn.c, so we no longer have to handle the UNIX-specific WEXITSTATUS() macros.
Diffstat (limited to 'src/spawn.c')
-rw-r--r--src/spawn.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/spawn.c b/src/spawn.c
index 644bf31..a4bf381 100644
--- a/src/spawn.c
+++ b/src/spawn.c
@@ -49,17 +49,6 @@
#include "error.h"
#include "spawn.h"
-/*
- * Glib v2.70 deprecates g_spawn_check_exit_status(),
- * renaming it to g_spawn_check_wait_status().
- * This leaves no way to work on both new and old versions without warnings.
- */
-#if GLIB_CHECK_VERSION(2,70,0)
-#define teco_spawn_check_wait_status g_spawn_check_wait_status
-#else
-#define teco_spawn_check_wait_status g_spawn_check_exit_status
-#endif
-
static void teco_spawn_child_watch_cb(GPid pid, gint status, gpointer data);
static gboolean teco_spawn_stdin_watch_cb(GIOChannel *chan,
GIOCondition condition, gpointer data);