diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-03-22 17:56:31 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-03-22 17:56:31 +0800 |
commit | 330753151999e90f94e4159d74b50c1728be344a (patch) | |
tree | 5259567bb7f0315c74cd4161523d2b3a1e2aa546 /widgets/table/e-table-memory.h | |
parent | 46c32e77f9b55c532c0ce1fb6befc3c31344c0ab (diff) | |
download | gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.tar gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.tar.gz gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.tar.bz2 gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.tar.lz gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.tar.xz gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.tar.zst gsoc2013-evolution-330753151999e90f94e4159d74b50c1728be344a.zip |
Made this able to take -1 to denote appending to the table. Also, removed
2001-03-22 Christopher James Lahey <clahey@ximian.com>
* e-table-memory.c, e-table-memory.h (e_table_memory_insert): Made
this able to take -1 to denote appending to the table. Also,
removed the node_ from the name of this function.
(e_table_memory_remove): Removed the node_ from the name of this
function.
(e_table_memory_clear): New function which sets the table to
empty.
svn path=/trunk/; revision=8886
Diffstat (limited to 'widgets/table/e-table-memory.h')
-rw-r--r-- | widgets/table/e-table-memory.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/widgets/table/e-table-memory.h b/widgets/table/e-table-memory.h index e1c7558dc4..e1a70d506c 100644 --- a/widgets/table/e-table-memory.h +++ b/widgets/table/e-table-memory.h @@ -34,12 +34,13 @@ GtkType e_table_memory_get_type (void); void e_table_memory_construct (ETableMemory *etable); ETableMemory *e_table_memory_new (void); -/* node operations */ -void e_table_memory_node_insert (ETableMemory *etable, - int row, - gpointer node_data); -gpointer e_table_memory_node_remove (ETableMemory *etable, - int row); +/* row operations */ +void e_table_memory_insert (ETableMemory *etable, + int row, + gpointer data); +gpointer e_table_memory_remove (ETableMemory *etable, + int row); +void e_table_memory_clear (ETableMemory *etable); /* Freeze and thaw */ void e_table_memory_freeze (ETableMemory *etable); @@ -48,7 +49,7 @@ gpointer e_table_memory_get_data (ETableMemory *etm, int row); void e_table_memory_set_data (ETableMemory *etm, int row, - gpointer node_data); + gpointer data); #ifdef __cplusplus } |