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. --- mail/em-format-hook.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'mail/em-format-hook.h') diff --git a/mail/em-format-hook.h b/mail/em-format-hook.h index f2b5b8f387..07e6aec24a 100644 --- a/mail/em-format-hook.h +++ b/mail/em-format-hook.h @@ -30,10 +30,7 @@ #include "em-format/em-format.h" -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ +G_BEGIN_DECLS typedef struct _EMFormatHookItem EMFormatHookItem; typedef struct _EMFormatHookGroup EMFormatHookGroup; @@ -91,8 +88,6 @@ GType em_format_hook_get_type(void); /* register a type as a possible formatter hook point */ void em_format_hook_register_type(GType type); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __EM_FORMAT_HOOK_H__ */ -- cgit v1.2.3