aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sorted.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-sorted.h')
-rw-r--r--widgets/table/e-table-sorted.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/table/e-table-sorted.h b/widgets/table/e-table-sorted.h
index 97246f7d0b..390141b3c1 100644
--- a/widgets/table/e-table-sorted.h
+++ b/widgets/table/e-table-sorted.h
@@ -5,6 +5,10 @@
#include <gal/e-table/e-table-model.h>
#include <gal/e-table/e-table-subset.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#define E_TABLE_SORTED_TYPE (e_table_sorted_get_type ())
#define E_TABLE_SORTED(o) (GTK_CHECK_CAST ((o), E_TABLE_SORTED_TYPE, ETableSorted))
#define E_TABLE_SORTED_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_SORTED_TYPE, ETableSortedClass))
@@ -26,4 +30,8 @@ GtkType e_table_sorted_get_type (void);
ETableModel *e_table_sorted_new (ETableModel *etm, int col, GCompareFunc compare);
void e_table_sorted_resort (ETableSorted *ets, int col, GCompareFunc compare);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* _E_TABLE_SORTED_H_ */