summaryrefslogtreecommitdiff
path: root/libmenu/menu-layout.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-layout.h
parent929408351cfb8e3a9373d12c26fb96781297ab5d (diff)
downloadmate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.bz2
mate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.xz
use G_BEGIN/END_DECLS
Diffstat (limited to 'libmenu/menu-layout.h')
-rw-r--r--libmenu/menu-layout.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libmenu/menu-layout.h b/libmenu/menu-layout.h
index 5d3e81a..3cfdcbc 100644
--- a/libmenu/menu-layout.h
+++ b/libmenu/menu-layout.h
@@ -26,9 +26,7 @@
#include "entry-directories.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
typedef struct MenuLayoutNode MenuLayoutNode;
@@ -154,8 +152,6 @@ typedef void (*MenuLayoutNodeEntriesChangedFunc) (MenuLayoutNode* node, gpointer
void menu_layout_node_root_add_entries_monitor (MenuLayoutNode* node, MenuLayoutNodeEntriesChangedFunc callback, gpointer user_data);
void menu_layout_node_root_remove_entries_monitor (MenuLayoutNode* node, MenuLayoutNodeEntriesChangedFunc callback, gpointer user_data);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __MENU_LAYOUT_H__ */