aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/junk-settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/groupwise-features/junk-settings.h')
-rw-r--r--plugins/groupwise-features/junk-settings.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/groupwise-features/junk-settings.h b/plugins/groupwise-features/junk-settings.h
index 13e8a25c9b..fd728cbb21 100644
--- a/plugins/groupwise-features/junk-settings.h
+++ b/plugins/groupwise-features/junk-settings.h
@@ -24,10 +24,7 @@
#ifndef __JUNK_SETTINGS_H__
#define __JUNK_SETTINGS_H__
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#include <gtk/gtk.h>
#include <camel/camel-store.h>
@@ -95,8 +92,6 @@ GType junk_settings_get_type (void);
struct _JunkSettings * junk_settings_new (EGwConnection *ccnc);
void commit_changes (JunkSettings *js);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __JUNK_SETTINGS_H__ */