aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-task-bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-task-bar.h')
-rw-r--r--widgets/misc/e-task-bar.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/widgets/misc/e-task-bar.h b/widgets/misc/e-task-bar.h
index f208603b63..d88c0697dd 100644
--- a/widgets/misc/e-task-bar.h
+++ b/widgets/misc/e-task-bar.h
@@ -27,10 +27,7 @@
#include <gtk/gtk.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define E_TYPE_TASK_BAR (e_task_bar_get_type ())
#define E_TASK_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_TASK_BAR, ETaskBar))
@@ -74,8 +71,6 @@ void e_task_bar_remove_task_from_id (ETaskBar *task_bar,
ETaskWidget *e_task_bar_get_task_widget (ETaskBar *task_bar,
gint n);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _E_TASK_BAR_H_ */