aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index 12e8632f88..4bc1a9b47d 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -24,10 +24,7 @@
#ifndef MAIL_OPS_H
#define MAIL_OPS_H
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#include "mail-mt.h"
@@ -168,8 +165,6 @@ void mail_execute_shell_command (CamelFilterDriver *driver, gint argc, gchar **a
gint mail_check_service(const gchar *url, CamelProviderType type,
void (*done)(const gchar *url, CamelProviderType type, GList *authtypes, gpointer data), gpointer data);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* MAIL_OPS_H */