static void etss_append_row (ETableModel *etm, ETableModel *source, gint row) { ETableSubset *etss = (ETableSubset *) etm; e_table_model_append_row (etss->source, source, row); }
void e_table_one_commit (ETableOne *one) { if (one->source) { int empty = TRUE; int col; int cols = e_table_model_column_count(one->source); for (col = 0; col < cols; col++) { if (!e_table_model_value_is_empty(one->source, col, one->data[col])) { empty = FALSE; break; } } if (!empty) { e_table_model_append_row(one->source, E_TABLE_MODEL(one), 0); } } }