[clutter/wip/apocalypses/apocalypse-3: 19/35] canvas: Fix single header inclusion guard
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/apocalypses/apocalypse-3: 19/35] canvas: Fix single header inclusion guard
- Date: Thu, 15 Mar 2012 18:06:16 +0000 (UTC)
commit 603db4036835493b695d680050dec0e751fe9f03
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Mar 8 16:38:30 2012 +0000
canvas: Fix single header inclusion guard
clutter/clutter-canvas.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-canvas.h b/clutter/clutter-canvas.h
index 26cc8d3..c37d947 100644
--- a/clutter/clutter-canvas.h
+++ b/clutter/clutter-canvas.h
@@ -22,6 +22,10 @@
* Emmanuele Bassi <ebassi linux intel com>
*/
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
#ifndef __CLUTTER_CANVAS_H__
#define __CLUTTER_CANVAS_H__
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]