summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooserwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkrecentchooserwidget.h')
-rw-r--r--gtk/gtkrecentchooserwidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkrecentchooserwidget.h b/gtk/gtkrecentchooserwidget.h
index 96aea95f1f..04be3e5020 100644
--- a/gtk/gtkrecentchooserwidget.h
+++ b/gtk/gtkrecentchooserwidget.h
@@ -18,6 +18,10 @@
* Boston, MA 02111-1307, USA.
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#ifndef __GTK_RECENT_CHOOSER_WIDGET_H__
#define __GTK_RECENT_CHOOSER_WIDGET_H__