[vte] all: Remove gstdio.h
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] all: Remove gstdio.h
- Date: Wed, 13 Sep 2017 16:39:48 +0000 (UTC)
commit 3e4b09e7aa5d3d3c70369f72f696d03b2c026c53
Author: Christian Persch <chpe src gnome org>
Date: Wed Sep 13 18:38:14 2017 +0200
all: Remove gstdio.h
src/debug.h | 1 -
src/vte.cc | 1 -
src/vtespawn.cc | 3 +--
3 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/debug.h b/src/debug.h
index 13c8737..a1622e4 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 89a3771..3846b59 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 df6e23b..b411ca7 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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]