diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-02-01 13:41:39 +0200 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-02-09 06:32:38 +0200 |
commit | 7e2605c681d065e6b0a3d779c30b892932597991 (patch) | |
tree | 44bccc88603a7cc530a80de6349df69d3413a148 /libnautilus-extension/nautilus-menu-item.h | |
parent | 2128efccae664ba12a870deb1720a08e58954dd2 (diff) | |
download | nautilus-7e2605c681d065e6b0a3d779c30b892932597991.tar.gz |
general: refactor extension library
The changes include:
* adding a single-include header and deprecating
nautilus-extension-types.h and direct inclusions of individual
headers;
* type definition simplifications - this causes some breakages in
nautilus-file, because NautilusFile used to be typedefed to
NautilusFileInfo, and that is no longer possible, so the interface
implementation was moved to static functions and the public
NautilusFile API provides thin wrappers for them to maintain
compatibility;
* documentation cleanups and reorganization;
* general build rule and code cleanups: mostly g_auto* sprinkled
around and style changes (sorry)
Diffstat (limited to 'libnautilus-extension/nautilus-menu-item.h')
-rw-r--r-- | libnautilus-extension/nautilus-menu-item.h | 4 |
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 |