summaryrefslogtreecommitdiff
path: root/libwnck/screen.h
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-01-20 01:16:24 +0100
committerVincent Untz <vuntz@gnome.org>2011-01-20 15:47:49 +0100
commit1f927d94617ef75c5c9a93a86a55a27e472df8dd (patch)
treeed79c6176e4827b4525b2677ac87af33f80b25d5 /libwnck/screen.h
parent4466c8ea5ceefe099deb665271ad202177a3fe86 (diff)
downloadlibwnck-1f927d94617ef75c5c9a93a86a55a27e472df8dd.tar.gz
build: Use single include when building against libwnck
Users of libwnck should just include <libwnck/libwnck.h> now.
Diffstat (limited to 'libwnck/screen.h')
-rw-r--r--libwnck/screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libwnck/screen.h b/libwnck/screen.h
index 4c0c8ff..9844035 100644
--- a/libwnck/screen.h
+++ b/libwnck/screen.h
@@ -21,6 +21,10 @@
* Boston, MA 02111-1307, USA.
*/
+#if !defined (__LIBWNCK_H_INSIDE__) && !defined (WNCK_COMPILATION)
+#error "Only <libwnck/libwnck.h> can be included directly."
+#endif
+
#ifndef WNCK_SCREEN_H
#define WNCK_SCREEN_H