summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixdata.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-pixdata.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-pixdata.c')
-rw-r--r--gdk-pixbuf/gdk-pixdata.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c
index cfe81fa388..ddafb0ef18 100644
--- a/gdk-pixbuf/gdk-pixdata.c
+++ b/gdk-pixbuf/gdk-pixdata.c
@@ -17,10 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#include <config.h>
-#include "gdk-pixbuf-alias.h"
#include "gdk-pixdata.h"
#include "gdk-pixbuf-private.h"
+#include "gdk-pixbuf-alias.h"
#include <string.h>
#define APPEND g_string_append_printf
@@ -921,3 +921,6 @@ gdk_pixbuf_new_from_inline (gint data_length,
return gdk_pixbuf_from_pixdata (&pixdata, copy_pixels, error);
}
+
+#define __GDK_PIXDATA_C__
+#include "gdk-pixbuf-aliasdef.c"