summaryrefslogtreecommitdiff
path: root/libmenu/menu-util.h
diff options
context:
space:
mode:
authoryetist <[email protected]>2018-05-02 22:42:02 +0800
committerraveit65 <[email protected]>2018-05-27 13:44:45 +0200
commitb642c7cdb1ff1ff418c62f0169e568a87f4cc4e5 (patch)
treebb4d0b4e55b6b6787bd9587e719918e0c0a5380e /libmenu/menu-util.h
parent929408351cfb8e3a9373d12c26fb96781297ab5d (diff)
downloadmate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.bz2
mate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.xz
use G_BEGIN/END_DECLS
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__ */