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-io.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-io.c')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c index dbe455b499..653315e266 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c @@ -33,9 +33,9 @@ #include <unistd.h> #endif -#include "gdk-pixbuf-alias.h" #include "gdk-pixbuf-private.h" #include "gdk-pixbuf-io.h" +#include "gdk-pixbuf-alias.h" #include <glib/gstdio.h> @@ -906,7 +906,6 @@ gdk_pixbuf_new_from_file (const char *filename, #ifdef G_OS_WIN32 #undef gdk_pixbuf_new_from_file - GdkPixbuf * gdk_pixbuf_new_from_file (const char *filename, GError **error) @@ -2212,6 +2211,9 @@ gdk_pixbuf_get_formats (void) } +#define __GDK_PIXBUF_IO_C__ +#include "gdk-pixbuf-aliasdef.c" + |