From 00d56cd32c5d0a7f49567d5241ba0d6fd80940bb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Jun 2009 10:50:51 -0400 Subject: Use G_BEGIN_DECLS / G_END_DECLS macros. --- e-util/e-config.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'e-util/e-config.h') 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 #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__ */ -- cgit