diff options
Diffstat (limited to 'widgets/table/e-table-model.c')
-rw-r--r-- | widgets/table/e-table-model.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/widgets/table/e-table-model.c b/widgets/table/e-table-model.c index 9429aeb0f9..9a0b3561dd 100644 --- a/widgets/table/e-table-model.c +++ b/widgets/table/e-table-model.c @@ -171,20 +171,8 @@ e_table_model_free_value (ETableModel *e_table_model, int col, void *value) ETM_CLASS (e_table_model)->free_value (e_table_model, col, value); } -char * -e_table_model_get_save_id(ETableModel *e_table_model, int row) -{ - g_return_val_if_fail (e_table_model != NULL, "/"); - g_return_val_if_fail (E_IS_TABLE_MODEL (e_table_model), "/"); - - if (ETM_CLASS (e_table_model)->get_save_id) - return ETM_CLASS (e_table_model)->get_save_id (e_table_model, row); - else - return NULL; -} - gboolean -e_table_model_has_save_id(ETableModel *e_table_model) +e_table_model_has_save_id (ETableModel *e_table_model) { g_return_val_if_fail (e_table_model != NULL, FALSE); g_return_val_if_fail (E_IS_TABLE_MODEL (e_table_model), FALSE); @@ -195,6 +183,18 @@ e_table_model_has_save_id(ETableModel *e_table_model) return FALSE; } +char * +e_table_model_get_save_id (ETableModel *e_table_model, int row) +{ + g_return_val_if_fail (e_table_model != NULL, "/"); + g_return_val_if_fail (E_IS_TABLE_MODEL (e_table_model), "/"); + + if (ETM_CLASS (e_table_model)->get_save_id) + return ETM_CLASS (e_table_model)->get_save_id (e_table_model, row); + else + return NULL; +} + gboolean e_table_model_has_change_pending(ETableModel *e_table_model) { @@ -316,8 +316,8 @@ e_table_model_class_init (GtkObjectClass *object_class) klass->set_value_at = NULL; klass->is_cell_editable = NULL; - klass->get_save_id = NULL; klass->has_save_id = NULL; + klass->get_save_id = NULL; klass->has_change_pending = NULL; |