summaryrefslogtreecommitdiff
path: root/libmenu/menu-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmenu/menu-util.h')
-rw-r--r--libmenu/menu-util.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libmenu/menu-util.h b/libmenu/menu-util.h
index c8721e2..3496b27 100644
--- a/libmenu/menu-util.h
+++ b/libmenu/menu-util.h
@@ -26,10 +26,7 @@
#include "menu-layout.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
+G_BEGIN_DECLS
#ifdef G_ENABLE_DEBUG
@@ -52,8 +49,6 @@ extern "C" {
#endif /* G_ENABLE_DEBUG */
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __MENU_UTIL_H__ */