diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-15 03:02:13 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-15 03:02:13 +0800 |
commit | feea74a8a7cbfe1b9d96212c6380f724750ad9e1 (patch) | |
tree | ee2d6be303840e8d9fec217629a41fde2daad449 /widgets/table/e-table-group.c | |
parent | 40013b42006e21aabe6dfd9451548fc2621bbe1f (diff) | |
download | gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.gz gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.tar.zst gsoc2013-evolution-feea74a8a7cbfe1b9d96212c6380f724750ad9e1.zip |
Removed the set cursor and get cursor methods from ETableGroup.
2000-12-14 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group.h: Removed the set cursor and get
cursor methods from ETableGroup.
* e-table.c (e_table_get_cursor_row, e_table_set_cursor_row):
Changed this to use the ETableSelection directly instead of going
through the grouping structure. This seems to fix a bug in
evolution's folder list for some people.
svn path=/trunk/; revision=7018
Diffstat (limited to 'widgets/table/e-table-group.c')
-rw-r--r-- | widgets/table/e-table-group.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c index c1eee7322c..664e8ec3fc 100644 --- a/widgets/table/e-table-group.c +++ b/widgets/table/e-table-group.c @@ -180,29 +180,6 @@ e_table_group_set_focus (ETableGroup *etg, ETG_CLASS (etg)->set_focus (etg, direction, row); } -void -e_table_group_set_cursor_row (ETableGroup *etg, - gint row) -{ - g_return_if_fail (etg != NULL); - g_return_if_fail (E_IS_TABLE_GROUP (etg)); - - if (ETG_CLASS (etg)->set_cursor_row) - ETG_CLASS (etg)->set_cursor_row (etg, row); -} - -int -e_table_group_get_cursor_row (ETableGroup *etg) -{ - g_return_val_if_fail (etg != NULL, -1); - g_return_val_if_fail (E_IS_TABLE_GROUP (etg), -1); - - if (ETG_CLASS (etg)->get_cursor_row) - return ETG_CLASS (etg)->get_cursor_row (etg); - else - return -1; -} - gboolean e_table_group_get_focus (ETableGroup *etg) { @@ -390,8 +367,6 @@ etg_class_init (GtkObjectClass *object_class) klass->increment = NULL; klass->decrement = NULL; klass->set_focus = NULL; - klass->set_cursor_row = NULL; - klass->get_cursor_row = NULL; klass->get_focus = etg_get_focus; klass->get_ecol = NULL; klass->get_printable = NULL; |