]> Pileus Git - ~andy/gtk/commit
define GDK_PIXBUF_H_INSIDE around including all other headers.
authorMichael Natterer <mitch@imendio.com>
Wed, 28 May 2008 13:39:52 +0000 (13:39 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Wed, 28 May 2008 13:39:52 +0000 (13:39 +0000)
commit83b215f9eaa4ae3d0a53141549042a2a0f2dea69
tree7c33ce46f21e634fade1d0263df7c5d1a0bc9435
parent2650257f3b369eaf587d68c2dcc32f436f85bc80
define GDK_PIXBUF_H_INSIDE around including all other headers.

2008-05-28  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf.h: define GDK_PIXBUF_H_INSIDE around including all
other headers.

* gdk-pixbuf-animation.h
* gdk-pixbuf-core.h
* gdk-pixbuf-enum-types.h.template
* gdk-pixbuf-features.h.in
* gdk-pixbuf-io.h
* gdk-pixbuf-loader.h
* gdk-pixbuf-simple-anim.h
* gdk-pixbuf-transform.h: add single-include guards that #error
out if GDK_PIXBUF_DISABLE_SINGLE_INCLUDES is defined and any of
these files is included individually.

* gdk-pixbuf-private.h: don't incude "gdk-pixbuf-io.h".

* gdk-pixbuf-csource.c: #define __GTK_H_INSIDE__ around including
"../gtk/gtkversion.h". Ugly but needed in this special case.

svn path=/trunk/; revision=20214
12 files changed:
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-animation.h
gdk-pixbuf/gdk-pixbuf-core.h
gdk-pixbuf/gdk-pixbuf-csource.c
gdk-pixbuf/gdk-pixbuf-enum-types.h.template
gdk-pixbuf/gdk-pixbuf-features.h.in
gdk-pixbuf/gdk-pixbuf-io.h
gdk-pixbuf/gdk-pixbuf-loader.h
gdk-pixbuf/gdk-pixbuf-private.h
gdk-pixbuf/gdk-pixbuf-simple-anim.h
gdk-pixbuf/gdk-pixbuf-transform.h
gdk-pixbuf/gdk-pixbuf.h