summaryrefslogtreecommitdiff
path: root/libmenu/menu-monitor.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-monitor.h
parent929408351cfb8e3a9373d12c26fb96781297ab5d (diff)
downloadmate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.bz2
mate-menus-b642c7cdb1ff1ff418c62f0169e568a87f4cc4e5.tar.xz
use G_BEGIN/END_DECLS
Diffstat (limited to 'libmenu/menu-monitor.h')
-rw-r--r--libmenu/menu-monitor.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libmenu/menu-monitor.h b/libmenu/menu-monitor.h
index 8180c68..868bc89 100644
--- a/libmenu/menu-monitor.h
+++ b/libmenu/menu-monitor.h
@@ -23,9 +23,7 @@
#include <glib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
typedef struct MenuMonitor MenuMonitor;
@@ -63,8 +61,6 @@ void menu_monitor_remove_notify(MenuMonitor* monitor, MenuMonitorNotifyFunc noti
#define mate_menu_monitor_notify_ref menu_monitor_notify_ref /* private */
#define mate_menu_monitor_notify_unref menu_monitor_notify_unref /* private */
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* __MENU_MONITOR_H__ */