summaryrefslogtreecommitdiff
path: root/gdk/gdkpixbuf-drawable.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-16 03:17:27 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-16 03:17:27 +0000
commit2a2d769d423ad79f606b995f9016dc59e72d9d8c (patch)
tree1c513437b23445551532702651075f37a93c6db0 /gdk/gdkpixbuf-drawable.c
parent34bfd7127948fd7608d53e90d2404caf21d9478e (diff)
downloadgtk+-2a2d769d423ad79f606b995f9016dc59e72d9d8c.tar.gz
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-15 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gdk/gdk.symbols: Group symbols by header and source file. * gdk/makegdkalias.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 makegdkalias.pl -def * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this file. * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other headers, include gdkaliasdef.c at the bottom.
Diffstat (limited to 'gdk/gdkpixbuf-drawable.c')
-rw-r--r--gdk/gdkpixbuf-drawable.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c
index d78f9d4fb5..c1f69ab0e2 100644
--- a/gdk/gdkpixbuf-drawable.c
+++ b/gdk/gdkpixbuf-drawable.c
@@ -25,7 +25,6 @@
#include <config.h>
#include <stdio.h>
#include <string.h>
-#include "gdkalias.h"
#include "gdkcolor.h"
#include "gdkimage.h"
#include "gdkvisual.h"
@@ -34,6 +33,7 @@
#include "gdkpixmap.h"
#include "gdk-pixbuf-private.h"
#include "gdkinternals.h"
+#include "gdkalias.h"
/* Some convenient names
*/
@@ -1412,3 +1412,6 @@ gdk_pixbuf_get_from_image (GdkPixbuf *dest,
return dest;
}
+
+#define __GDK_PIXBUF_DRAWABLE_C__
+#include "gdkaliasdef.c"