diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-27 07:02:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:09 +0800 |
commit | 96b07a2ff024c6e852344f4614735132219d2104 (patch) | |
tree | 95c9bdb74cde0769a31399cc6d2b92415b37ba32 /e-util/e-cell-date-edit.c | |
parent | d40e5a8ba1e7d362415be17d0ccde4477243839d (diff) | |
download | gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.gz gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.tar.zst gsoc2013-evolution-96b07a2ff024c6e852344f4614735132219d2104.zip |
ETableCol: Embed an ETableColumnSpecification.
Eliminates a few redundant fields.
Diffstat (limited to 'e-util/e-cell-date-edit.c')
-rw-r--r-- | e-util/e-cell-date-edit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-cell-date-edit.c b/e-util/e-cell-date-edit.c index 8b43bc9745..1e7642eb3d 100644 --- a/e-util/e-cell-date-edit.c +++ b/e-util/e-cell-date-edit.c @@ -518,7 +518,7 @@ e_cell_date_edit_set_popup_values (ECellDateEdit *ecde) cell_text = e_cell_text_get_text ( ecell_text, ecv->e_table_model, - ecol->col_idx, ecp->popup_row); + ecol->spec->model_col, ecp->popup_row); /* Try to parse just a date first. If the value is only a date, we * use a DATE value. */ @@ -952,16 +952,16 @@ e_cell_date_edit_update_cell (ECellDateEdit *ecde, old_text = e_cell_text_get_text ( ecell_text, ecv->e_table_model, - ecol->col_idx, ecp->popup_row); + ecol->spec->model_col, ecp->popup_row); /* If they are different, update the cell contents. */ if (strcmp (old_text, text)) { e_cell_text_set_value ( ecell_text, ecv->e_table_model, - ecol->col_idx, ecp->popup_row, text); + ecol->spec->model_col, ecp->popup_row, text); e_cell_leave_edit ( ecv, ecp->popup_view_col, - ecol->col_idx, ecp->popup_row, NULL); + ecol->spec->model_col, ecp->popup_row, NULL); } e_cell_text_free_text (ecell_text, old_text); |