aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-popup.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-popup.h')
-rw-r--r--e-util/e-popup.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/e-util/e-popup.h b/e-util/e-popup.h
index 8779ce8dd9..6ca872b186 100644
--- a/e-util/e-popup.h
+++ b/e-util/e-popup.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.
@@ -303,8 +300,6 @@ GType e_popup_hook_get_type(void);
/* for implementors */
void e_popup_hook_class_add_target_map(EPopupHookClass *klass, const EPopupHookTargetMap *);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_POPUP_H__ */