diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-02 18:44:28 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-02 18:44:28 +0800 |
commit | 2e8ac028ee909ed15ad69fe7836340d5eb556e1e (patch) | |
tree | a083baf7036ee78142cda0e604c032db969a8430 /widgets/table/e-table-model.h | |
parent | c03a0bf83596176d50d349c41458284ab69d0d18 (diff) | |
download | gsoc2013-evolution-2e8ac028ee909ed15ad69fe7836340d5eb556e1e.tar.gz gsoc2013-evolution-2e8ac028ee909ed15ad69fe7836340d5eb556e1e.tar.zst gsoc2013-evolution-2e8ac028ee909ed15ad69fe7836340d5eb556e1e.zip |
Changed the API for the append_row function. Now accepts a model to copy
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
* e-table-model.c, e-table-model.h: Changed the API for the
append_row function. Now accepts a model to copy data from
instead of returning a row number and leaving it up to ETableOne
to copy the data in.
* e-table-one.c, e-table-one.h: Adapted to use new append_row API.
* e-table-simple.c, e-table-simple.h, e-table-subset.c: Adapted to
supply new append_row API.
svn path=/trunk/; revision=4468
Diffstat (limited to 'widgets/table/e-table-model.h')
-rw-r--r-- | widgets/table/e-table-model.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-model.h b/widgets/table/e-table-model.h index dc18d972b5..447903c83a 100644 --- a/widgets/table/e-table-model.h +++ b/widgets/table/e-table-model.h @@ -25,7 +25,7 @@ typedef struct { void *(*value_at) (ETableModel *etm, int col, int row); void (*set_value_at) (ETableModel *etm, int col, int row, const void *value); gboolean (*is_cell_editable) (ETableModel *etm, int col, int row); - gint (*append_row) (ETableModel *etm); + void (*append_row) (ETableModel *etm, ETableModel *source, int row); /* Allocate a copy of the given value. */ void *(*duplicate_value) (ETableModel *etm, int col, const void *value); @@ -65,7 +65,7 @@ int e_table_model_row_count (ETableModel *e_table_model); void *e_table_model_value_at (ETableModel *e_table_model, int col, int row); void e_table_model_set_value_at (ETableModel *e_table_model, int col, int row, const void *value); gboolean e_table_model_is_cell_editable (ETableModel *e_table_model, int col, int row); -gint e_table_model_append_row (ETableModel *e_table_model); +void e_table_model_append_row (ETableModel *e_table_model, ETableModel *source, int row); void *e_table_model_duplicate_value (ETableModel *e_table_model, int col, const void *value); void e_table_model_free_value (ETableModel *e_table_model, int col, void *value); |