aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-menu.h')
-rw-r--r--e-util/e-menu.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/e-util/e-menu.h b/e-util/e-menu.h
index d0a8e9939d..7b8d6f5ce3 100644
--- a/e-util/e-menu.h
+++ b/e-util/e-menu.h
@@ -27,10 +27,7 @@
#include <glib-object.h>
#include "libedataserver/e-msgport.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* This is an abstract popup menu management/merging class.
@@ -317,8 +314,6 @@ GType e_menu_hook_get_type(void);
/* for implementors */
void e_menu_hook_class_add_target_map(EMenuHookClass *klass, const EMenuHookTargetMap *);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_MENU_H__ */