aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table-model.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-11-29 06:26:39 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-29 06:26:39 +0800
commit1a0d4df95730ab26981b3f26aa365aae84da36f5 (patch)
tree887f57713f7baefffc4022b66b20c67160b4be80 /widgets/e-table-model.h
parent8d75b6689bdf5dc7c1efad65867cba2a656f2dcc (diff)
downloadgsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar
gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.gz
gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.bz2
gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.lz
gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.xz
gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.tar.zst
gsoc2013-evolution-1a0d4df95730ab26981b3f26aa365aae84da36f5.zip
New methods; They implement editing.
1999-11-28 Miguel de Icaza <miguel@gnu.org> * e-cell-text.c (ect_enter_edit, ect_leave_edit): New methods; They implement editing. * e-cell.h: new methods: enter_edit, leave_edit * e-table-model.h (set_value_at): make val argument const. * e-table-simple.c (simple_set_value_at): Make value argument const; * e-table-item.c (eti_set_arg): Add new mode: draw_focus; svn path=/trunk/; revision=1442
Diffstat (limited to 'widgets/e-table-model.h')
-rw-r--r--widgets/e-table-model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/e-table-model.h b/widgets/e-table-model.h
index ea5d31493d..22339ae484 100644
--- a/widgets/e-table-model.h
+++ b/widgets/e-table-model.h
@@ -23,7 +23,7 @@ typedef struct {
const char *(*column_name) (ETableModel *etm, int col);
int (*row_count) (ETableModel *etm);
void *(*value_at) (ETableModel *etm, int col, int row);
- void (*set_value_at) (ETableModel *etm, int col, int row, void *value);
+ void (*set_value_at) (ETableModel *etm, int col, int row, const void *value);
gboolean (*is_cell_editable) (ETableModel *etm, int col, int row);
/*
@@ -40,7 +40,7 @@ int e_table_model_column_count (ETableModel *e_table_model);
const char *e_table_model_column_name (ETableModel *e_table_model, int col);
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, void *data);
+void e_table_model_set_value_at (ETableModel *e_table_model, int col, int row, const void *data);
gboolean e_table_model_is_cell_editable (ETableModel *e_table_model, int col, int row);
/*