From d922bf632a2f4ffcb03206f1e2e660e0b6f36152 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 5 May 2008 15:12:13 +0000 Subject: [PATCH] Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent code from 2008-05-05 Michael Natterer * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent code from being checked in that breaks the build of applications which use G_DISABLE_SINGLE_INCLUDES. * makegioalias.pl: make the alias file include "glib.h" instead of "glibconfig.h". * gio.symbols: whitespace change to force regeneration of the alias file after above script change. * gfileinfo.h: remove inlcusion of . * gfilenamecompleter.c: remove inclusion of "gurifuncs.h". * gioerror.h: #include instead of . * glocalfileinfo.c: remove inclusion of . svn path=/trunk/; revision=6879 --- gio/ChangeLog | 20 ++++++++++++++++++++ gio/Makefile.am | 1 + gio/gfileinfo.h | 1 - gio/gfilenamecompleter.c | 1 - gio/gio.symbols | 1 + gio/gioerror.h | 2 +- gio/glocalfileinfo.c | 1 - gio/makegioalias.pl | 2 +- 8 files changed, 24 insertions(+), 5 deletions(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 6564498..e160185 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,23 @@ +2008-05-05 Michael Natterer + + * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent + code from being checked in that breaks the build of applications + which use G_DISABLE_SINGLE_INCLUDES. + + * makegioalias.pl: make the alias file include "glib.h" instead of + "glibconfig.h". + + * gio.symbols: whitespace change to force regeneration of the + alias file after above script change. + + * gfileinfo.h: remove inlcusion of . + + * gfilenamecompleter.c: remove inclusion of "gurifuncs.h". + + * gioerror.h: #include instead of . + + * glocalfileinfo.c: remove inclusion of . + 2008-04-28 David Zeuthen * gunixmounts.c (g_unix_mount_guess_should_display): Avoid diff --git a/gio/Makefile.am b/gio/Makefile.am index f31352f..d53a8a4 100644 --- a/gio/Makefile.am +++ b/gio/Makefile.am @@ -49,6 +49,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/gmodule \ $(GLIB_DEBUG_FLAGS) \ -DG_DISABLE_DEPRECATED \ + -DG_DISABLE_SINGLE_INCLUDES \ -DGIO_COMPILATION \ -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h index 93d74a3..7743c16 100644 --- a/gio/gfileinfo.h +++ b/gio/gfileinfo.h @@ -28,7 +28,6 @@ #define __G_FILE_INFO_H__ #include -#include #include #include diff --git a/gio/gfilenamecompleter.c b/gio/gfilenamecompleter.c index d3077ab..cccc722 100644 --- a/gio/gfilenamecompleter.c +++ b/gio/gfilenamecompleter.c @@ -22,7 +22,6 @@ #include #include "gfilenamecompleter.h" -#include "gurifuncs.h" #include "gfile.h" #include #include "glibintl.h" diff --git a/gio/gio.symbols b/gio/gio.symbols index 618f94e..7417bf8 100644 --- a/gio/gio.symbols +++ b/gio/gio.symbols @@ -7,6 +7,7 @@ * #ifdef IN_HEADER(sym) #endif and * #ifdef IN_FILE(sym) #endif sections. */ + #ifdef ALL_FILES #define IN_FILE(x) 1 #define IN_HEADER(x) 1 diff --git a/gio/gioerror.h b/gio/gioerror.h index 01a1ae2..7475706 100644 --- a/gio/gioerror.h +++ b/gio/gioerror.h @@ -27,7 +27,7 @@ #ifndef __G_IO_ERROR_H__ #define __G_IO_ERROR_H__ -#include +#include G_BEGIN_DECLS diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c index f3ef2e5..adbd2db 100644 --- a/gio/glocalfileinfo.c +++ b/gio/glocalfileinfo.c @@ -58,7 +58,6 @@ #endif /* HAVE_XATTR */ #include -#include #include #include "glibintl.h" diff --git a/gio/makegioalias.pl b/gio/makegioalias.pl index 26b9206..b4ae319 100755 --- a/gio/makegioalias.pl +++ b/gio/makegioalias.pl @@ -12,7 +12,7 @@ print <