aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-config.h')
-rw-r--r--calendar/gui/e-cal-config.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/calendar/gui/e-cal-config.h b/calendar/gui/e-cal-config.h
index f9876e7adf..52989aa0e2 100644
--- a/calendar/gui/e-cal-config.h
+++ b/calendar/gui/e-cal-config.h
@@ -29,10 +29,7 @@
#include <libecal/e-cal.h>
#include "e-util/e-config.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif
+G_BEGIN_DECLS
typedef struct _ECalConfig ECalConfig;
typedef struct _ECalConfigClass ECalConfigClass;
@@ -89,8 +86,6 @@ struct _ECalConfigHookClass {
GType e_cal_config_hook_get_type (void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif