diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-14 19:37:00 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-14 19:37:00 +0000 |
commit | eef20f2c834aa260ba04b5008ba061fd3faae4a4 (patch) | |
tree | 6248384d1dafb6be1c845f530c9cb70125272b54 /gdk-pixbuf/gdk-pixbuf-loader.c | |
parent | 706ff83a7dab8a85fa08ebccbc37b00a16572797 (diff) | |
download | gtk+-eef20f2c834aa260ba04b5008ba061fd3faae4a4.tar.gz |
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-14 Matthias Clasen <mclasen@redhat.com>
Make PLT-reduction work with gcc4, and don't include
everything in gdk-pixbuf-alias.h:
* gdk-pixbuf.symbols: Group symbols by header and source file.
* /makegdkpixbufalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegdkpixbufalias.pl -def
* Makefile.am (gdk-pixbuf-aliasdef.c): Add a rule to generate
this file.
* *.c: Include gdk-pixbuf-alias.h after the other headers,
include gdk-pixbuf-aliasdef.c at the bottom.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-loader.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-loader.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c index bccee9fc77..a2a131c4ce 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.c +++ b/gdk-pixbuf/gdk-pixbuf-loader.c @@ -27,12 +27,12 @@ #include <config.h> #include <string.h> -#include "gdk-pixbuf-alias.h" #include "gdk-pixbuf-private.h" #include "gdk-pixbuf-animation.h" #include "gdk-pixbuf-io.h" #include "gdk-pixbuf-loader.h" #include "gdk-pixbuf-marshal.h" +#include "gdk-pixbuf-alias.h" enum { SIZE_PREPARED, @@ -807,5 +807,6 @@ gdk_pixbuf_loader_get_format (GdkPixbufLoader *loader) } - +#define __GDK_PIXBUF_LOADER_C__ +#include "gdk-pixbuf-aliasdef.c" |