summaryrefslogtreecommitdiff
path: root/libnautilus-extension/nautilus-menu-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-extension/nautilus-menu-item.h')
-rw-r--r--libnautilus-extension/nautilus-menu-item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-extension/nautilus-menu-item.h b/libnautilus-extension/nautilus-menu-item.h
index cc1b32ad6..9e867444b 100644
--- a/libnautilus-extension/nautilus-menu-item.h
+++ b/libnautilus-extension/nautilus-menu-item.h
@@ -24,6 +24,10 @@
#ifndef NAUTILUS_MENU_ITEM_H
#define NAUTILUS_MENU_ITEM_H
+#if !defined (NAUTILUS_EXTENSION_H) && !defined (NAUTILUS_COMPILATION)
+#warning "Only <nautilus-extension.h> should be included directly."
+#endif
+
#include "nautilus-menu.h"
#endif