diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-16 03:17:27 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-16 03:17:27 +0000 |
commit | 2a2d769d423ad79f606b995f9016dc59e72d9d8c (patch) | |
tree | 1c513437b23445551532702651075f37a93c6db0 /gdk/gdkdraw.c | |
parent | 34bfd7127948fd7608d53e90d2404caf21d9478e (diff) | |
download | gdk-pixbuf-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/gdkdraw.c')
-rw-r--r-- | gdk/gdkdraw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c index 63951a024..b8a653d43 100644 --- a/gdk/gdkdraw.c +++ b/gdk/gdkdraw.c @@ -26,13 +26,13 @@ #include <config.h> #include <math.h> -#include "gdkalias.h" #include "gdkdrawable.h" #include "gdkinternals.h" #include "gdkwindow.h" #include "gdkscreen.h" #include "gdk-pixbuf-private.h" #include "gdkpixbuf.h" +#include "gdkalias.h" static GdkImage* gdk_drawable_real_get_image (GdkDrawable *drawable, gint x, @@ -1965,3 +1965,6 @@ _gdk_drawable_get_scratch_gc (GdkDrawable *drawable, return screen->normal_gcs[depth]; } } + +#define __GDK_DRAW_C__ +#include "gdkaliasdef.c" |