summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-animation.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-14 19:37:00 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-14 19:37:00 +0000
commiteef20f2c834aa260ba04b5008ba061fd3faae4a4 (patch)
tree6248384d1dafb6be1c845f530c9cb70125272b54 /gdk-pixbuf/gdk-pixbuf-animation.c
parent706ff83a7dab8a85fa08ebccbc37b00a16572797 (diff)
downloadgtk+-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-animation.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-animation.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 2e84d333ac..ad47774168 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -24,11 +24,11 @@
#include <config.h>
#include <errno.h>
-#include "gdk-pixbuf-alias.h"
#include "gdk-pixbuf-private.h"
#include "gdk-pixbuf-io.h"
#include "gdk-pixbuf-i18n.h"
#include "gdk-pixbuf-animation.h"
+#include "gdk-pixbuf-alias.h"
#include <glib/gstdio.h>
@@ -822,3 +822,5 @@ gdk_pixbuf_non_anim_iter_advance (GdkPixbufAnimationIter *iter,
return FALSE;
}
+#define __GDK_PIXBUF_ANIMATION_C__
+#include "gdk-pixbuf-aliasdef.c"