aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-simple.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-simple.h')
-rw-r--r--widgets/table/e-table-simple.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-table-simple.h b/widgets/table/e-table-simple.h
index ca44464325..cf5ec6d4f2 100644
--- a/widgets/table/e-table-simple.h
+++ b/widgets/table/e-table-simple.h
@@ -4,6 +4,10 @@
#include <gal/e-table/e-table-model.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#define E_TABLE_SIMPLE_TYPE (e_table_simple_get_type ())
#define E_TABLE_SIMPLE(o) (GTK_CHECK_CAST ((o), E_TABLE_SIMPLE_TYPE, ETableSimple))
#define E_TABLE_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SIMPLE_TYPE, ETableSimpleClass))
@@ -57,5 +61,9 @@ ETableModel *e_table_simple_new (ETableSimpleColumnCountFn col_count,
ETableSimpleValueToStringFn value_to_string,
void *data);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* _E_TABLE_SIMPLE_H_ */