aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 0d148459b7..7271348926 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1618,6 +1618,15 @@ e_table_get_cell_geometry (ETable *table,
}
}
+ESelectionModel *
+e_table_get_selection_model (ETable *table)
+{
+ g_return_val_if_fail (table != NULL, NULL);
+ g_return_val_if_fail (E_IS_TABLE (table), NULL);
+
+ return E_SELECTION_MODEL (table->selection);
+}
+
struct _ETableDragSourceSite
{
GdkModifierType start_button_mask;