summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2017-09-13 18:38:14 +0200
committerChristian Persch <chpe@src.gnome.org>2017-09-13 18:38:14 +0200
commit3e4b09e7aa5d3d3c70369f72f696d03b2c026c53 (patch)
tree20bafdee15528ee2c9af7b557338ea5b1a097f3e
parent516b500c4f94a8c11de39213f78736ddbf6720f6 (diff)
downloadvte-3e4b09e7aa5d3d3c70369f72f696d03b2c026c53.tar.gz
all: Remove gstdio.h
-rw-r--r--src/debug.h1
-rw-r--r--src/vte.cc1
-rw-r--r--src/vtespawn.cc3
3 files changed, 1 insertions, 4 deletions
diff --git a/src/debug.h b/src/debug.h
index 13c8737b..a1622e49 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -89,7 +89,6 @@ _vte_debug_on(guint flags)
G_STMT_START { _VTE_DEBUG_IF(flags) g_printerr(fmt, ##__VA_ARGS__); } G_STMT_END
#else
#include <stdarg.h>
-#include <glib/gstdio.h>
static void _vte_debug_print(guint flags, const char *fmt, ...)
{
_VTE_DEBUG_IF(flags) {
diff --git a/src/vte.cc b/src/vte.cc
index 89a3771f..3846b59e 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -55,7 +55,6 @@
#include <sys/wait.h>
#endif
#include <glib.h>
-#include <glib/gstdio.h>
#include <glib-object.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
diff --git a/src/vtespawn.cc b/src/vtespawn.cc
index df6e23be..b411ca71 100644
--- a/src/vtespawn.cc
+++ b/src/vtespawn.cc
@@ -36,7 +36,6 @@
#include <sys/resource.h>
#endif /* HAVE_SYS_RESOURCE_H */
-#include <glib/gstdio.h>
#include <glib-unix.h>
#include "vtespawn.hh"
@@ -154,7 +153,7 @@ close_and_invalidate (gint *fd)
return;
else
{
- (void) g_close (*fd, NULL);
+ (void)close(*fd);
*fd = -1;
}
}