diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-22 06:49:34 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-22 06:49:34 +0800 |
commit | a30a2c116239e615c685194c9287c3adc05594a5 (patch) | |
tree | d1914a4a7a36f9974058011d0d808f91c0aec078 /widgets/table/e-table-header.c | |
parent | 36f9a550565abe5d08cccb61fe26293ea7aa30c9 (diff) | |
download | gsoc2013-evolution-a30a2c116239e615c685194c9287c3adc05594a5.tar.gz gsoc2013-evolution-a30a2c116239e615c685194c9287c3adc05594a5.tar.zst gsoc2013-evolution-a30a2c116239e615c685194c9287c3adc05594a5.zip |
Changed this to move the cell to the nearest edge instead of to the left
2000-06-21 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c: Changed this to move the cell to the
nearest edge instead of to the left of the column it's over.
* e-table-header.c: Made target_index equal to eti->col_count be a
valid parameter to e_table_header_move.
svn path=/trunk/; revision=3683
Diffstat (limited to 'widgets/table/e-table-header.c')
-rw-r--r-- | widgets/table/e-table-header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index 2ac82215df..06aeb50b3f 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/table/e-table-header.c @@ -447,7 +447,7 @@ e_table_header_move (ETableHeader *eth, int source_index, int target_index) g_return_if_fail (source_index >= 0); g_return_if_fail (target_index >= 0); g_return_if_fail (source_index < eth->col_count); - g_return_if_fail (target_index < eth->col_count); + g_return_if_fail (target_index < eth->col_count + 1); /* Can be moved beyond the last item. */ if (source_index < target_index) target_index --; |