aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-config.h')
-rw-r--r--e-util/e-config.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/e-util/e-config.h b/e-util/e-config.h
index 55bd6abc8b..2f2e4a2a3b 100644
--- a/e-util/e-config.h
+++ b/e-util/e-config.h
@@ -27,10 +27,7 @@
#include <glib-object.h>
#include "libedataserver/e-msgport.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
struct _GtkWindow;
struct _GtkWidget;
@@ -386,8 +383,6 @@ GType e_config_hook_get_type(void);
/* for implementors */
void e_config_hook_class_add_target_map(EConfigHookClass *klass, const EConfigHookTargetMap *);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_CONFIG_H__ */