aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-10 19:22:19 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-10 19:22:19 +0800
commitcd18ff4f5104b30d82679f140920a8a08b335736 (patch)
tree503b0dfb7af7c6e4001c98fc22937882838cefdd /widgets/table/e-table.c
parente9e9bee38c698fda173bf13571a3d49963979199 (diff)
downloadgsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.tar
gsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.tar.gz
gsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.tar.bz2
gsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.tar.lz
gsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.tar.xz
gsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.tar.zst
gsoc2013-evolution-cd18ff4f5104b30d82679f140920a8a08b335736.zip
Added this function.
2001-10-10 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (e_table_get_selection_model): Added this function. svn path=/trunk/; revision=13548
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;