aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-component-view.h')
-rw-r--r--shell/e-component-view.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/shell/e-component-view.h b/shell/e-component-view.h
index 9b741837b1..ef8a6e813c 100644
--- a/shell/e-component-view.h
+++ b/shell/e-component-view.h
@@ -26,10 +26,7 @@
#include <bonobo/bonobo-object.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
struct _GtkWidget;
@@ -71,9 +68,7 @@ EComponentView *e_component_view_new_controls(GNOME_Evolution_ShellView parent,
void e_component_view_set_title(EComponentView *ecv, const gchar *title);
void e_component_view_set_button_icon (EComponentView *ecv, const gchar *iconName);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _E_COMPONENT_VIEW_H_ */