summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-transform.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-12-28 00:18:58 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-12-28 00:18:58 -0500
commit28d8d0a72ad4f1ebaddfede9497210d08540408b (patch)
tree31956c16818b93539dbc2fdc1114b5f056513e14 /gdk-pixbuf/gdk-pixbuf-transform.h
parent30fe01d8c124c34a8423cd1517406c87e4f9489e (diff)
downloadgdk-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-transform.h')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-transform.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-transform.h b/gdk-pixbuf/gdk-pixbuf-transform.h
index d4757ff50..de3a48f61 100644
--- a/gdk-pixbuf/gdk-pixbuf-transform.h
+++ b/gdk-pixbuf/gdk-pixbuf-transform.h
@@ -23,13 +23,13 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef GDK_PIXBUF_TRANSFORM_H
+#define GDK_PIXBUF_TRANSFORM_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_TRANSFORM_H
-#define GDK_PIXBUF_TRANSFORM_H
-
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf-core.h>