diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-09-25 05:31:50 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-09-25 05:31:50 +0800 |
commit | 40226dadd54daf0955407e40673a895fc2f7445c (patch) | |
tree | c269da50e7693451ef48b2c1e074cc0d17920262 /widgets/table/e-table-header.c | |
parent | 8ab52c05d984af14cf5583ebd19883a9d0ec1b98 (diff) | |
download | gsoc2013-evolution-40226dadd54daf0955407e40673a895fc2f7445c.tar.gz gsoc2013-evolution-40226dadd54daf0955407e40673a895fc2f7445c.tar.zst gsoc2013-evolution-40226dadd54daf0955407e40673a895fc2f7445c.zip |
Assert that the virtual method is implemented instead of being forgiving.
2001-09-24 Federico Mena Quintero <federico@ximian.com>
* e-table-group.c (e_table_group_add): Assert that the virtual
method is implemented instead of being forgiving.
(e_table_group_add_array): Likewise.
(e_table_group_add_all): Likewise.
(e_table_group_remove): Likewise.
(e_table_group_increment): Likewise.
(e_table_group_decrement): Likewise.
(e_table_group_row_count): Likewise.
(e_table_group_set_focus): Likewise.
(e_table_group_get_focus): Likewise.
(e_table_group_get_focus_column): Likewise.
(e_table_group_get_printable): Likewise.
(e_table_group_compute_location): Likewise.
(e_table_group_get_cell_geometry): Likewise.
(etg_destroy): Clear the fields after we unref them.
* e-table-group-leaf.c (etgl_destroy): Clear the fields after we
unref them.
(e_table_group_leaf_construct): Subsets should not be sunk. Do
not ref/sink the subset.
* e-table-header.c (e_table_header_add_column): Document the fact
that the header assumes ownership of the column.
svn path=/trunk/; revision=13102
Diffstat (limited to 'widgets/table/e-table-header.c')
-rw-r--r-- | widgets/table/e-table-header.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index 56c7bed164..dd5625df99 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/table/e-table-header.c @@ -321,7 +321,8 @@ eth_do_insert (ETableHeader *eth, int pos, ETableCol *val) * * This function adds the @tc ETableCol definition into the @eth ETableHeader * at position @pos. This is the way you add new ETableCols to the - * ETableHeader. + * ETableHeader. The header will assume ownership of the @tc; you should not + * unref it after you add it. * * This function will emit the "structure_change" signal on the @eth object. * The ETableCol is assumed |