summaryrefslogtreecommitdiff
path: root/libwnck/class-group.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/class-group.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/class-group.h')
-rw-r--r--libwnck/class-group.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libwnck/class-group.h b/libwnck/class-group.h
index 42f148b..337ecab 100644
--- a/libwnck/class-group.h
+++ b/libwnck/class-group.h
@@ -22,6 +22,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_CLASS_GROUP_H
#define WNCK_CLASS_GROUP_H
@@ -82,4 +86,4 @@ GdkPixbuf *wnck_class_group_get_mini_icon (WnckClassGroup *class_group);
G_END_DECLS
-#endif
+#endif /* WNCK_CLASS_GROUP_H */