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.
This commit is contained in:
committed by
Matthias Clasen
parent
706ff83a7d
commit
eef20f2c83
@ -28,9 +28,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#define GDK_PIXBUF_COMPILATION
|
||||
#include "gdk-pixbuf-alias.h"
|
||||
#include "gdk-pixbuf.h"
|
||||
#include "gdk-pixbuf-private.h"
|
||||
#include "gdk-pixbuf-alias.h"
|
||||
|
||||
static void gdk_pixbuf_class_init (GdkPixbufClass *klass);
|
||||
static void gdk_pixbuf_finalize (GObject *object);
|
||||
@ -793,3 +793,6 @@ gdk_pixbuf_get_property (GObject *object,
|
||||
/* Include the marshallers */
|
||||
#include <glib-object.h>
|
||||
#include "gdk-pixbuf-marshal.c"
|
||||
|
||||
#define __GDK_PIXBUF_C__
|
||||
#include "gdk-pixbuf-aliasdef.c"
|
||||
|
||||
Reference in New Issue
Block a user