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-scale.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-scale.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-scale.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c index d5326a33b5..6ce1fb34fa 100644 --- a/gdk-pixbuf/gdk-pixbuf-scale.c +++ b/gdk-pixbuf/gdk-pixbuf-scale.c @@ -23,9 +23,9 @@ #include <config.h> #include <math.h> #include <string.h> -#include "gdk-pixbuf-alias.h" #include "gdk-pixbuf-private.h" #include "pixops/pixops.h" +#include "gdk-pixbuf-alias.h" @@ -455,3 +455,5 @@ gdk_pixbuf_flip (const GdkPixbuf *src, return dest; } +#define __GDK_PIXBUF_SCALE_C__ +#include "gdk-pixbuf-aliasdef.c" |