summaryrefslogtreecommitdiff
path: root/gdk/gdkapplaunchcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkapplaunchcontext.h')
-rw-r--r--gdk/gdkapplaunchcontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index 806125b630..31b473070d 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -20,6 +20,10 @@
Author: Alexander Larsson <alexl@redhat.com>
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
+#error "Only <gdk/gdk.h> can be included directly."
+#endif
+
#ifndef __GDK_APP_LAUNCH_CONTEXT_H__
#define __GDK_APP_LAUNCH_CONTEXT_H__