diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-12-28 00:18:58 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-12-28 00:18:58 -0500 |
commit | 28d8d0a72ad4f1ebaddfede9497210d08540408b (patch) | |
tree | 31956c16818b93539dbc2fdc1114b5f056513e14 /gdk-pixbuf/gdk-pixbuf-animation.h | |
parent | 30fe01d8c124c34a8423cd1517406c87e4f9489e (diff) | |
download | gdk-pixbuf-28d8d0a72ad4f1ebaddfede9497210d08540408b.tar.gz |
Move single-include guards inside include guards
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-animation.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-animation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.h b/gdk-pixbuf/gdk-pixbuf-animation.h index 8213e9425..1f0c00f4f 100644 --- a/gdk-pixbuf/gdk-pixbuf-animation.h +++ b/gdk-pixbuf/gdk-pixbuf-animation.h @@ -24,13 +24,13 @@ * Boston, MA 02111-1307, USA. */ +#ifndef GDK_PIXBUF_ANIMATION_H +#define GDK_PIXBUF_ANIMATION_H + #if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION) #error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly." #endif -#ifndef GDK_PIXBUF_ANIMATION_H -#define GDK_PIXBUF_ANIMATION_H - #include <glib-object.h> #include <gdk-pixbuf/gdk-pixbuf-core.h> |