summaryrefslogtreecommitdiff
path: root/libmenu/entry-directories.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmenu/entry-directories.h')
-rw-r--r--libmenu/entry-directories.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libmenu/entry-directories.h b/libmenu/entry-directories.h
index 5b9dfae..c1d159a 100644
--- a/libmenu/entry-directories.h
+++ b/libmenu/entry-directories.h
@@ -23,9 +23,7 @@
#include <glib.h>
#include "desktop-entries.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
typedef struct EntryDirectory EntryDirectory;
@@ -60,8 +58,6 @@ DesktopEntry* entry_directory_list_get_directory (EntryDirectoryList* list, cons
DesktopEntrySet* _entry_directory_list_get_all_desktops(EntryDirectoryList* list);
void _entry_directory_list_empty_desktop_cache(void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __ENTRY_DIRECTORIES_H__ */