diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/table/e-table-memory-callbacks.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2 gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip |
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/table/e-table-memory-callbacks.c')
-rw-r--r-- | widgets/table/e-table-memory-callbacks.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/table/e-table-memory-callbacks.c b/widgets/table/e-table-memory-callbacks.c index 2b0fdaec21..4b05a42120 100644 --- a/widgets/table/e-table-memory-callbacks.c +++ b/widgets/table/e-table-memory-callbacks.c @@ -96,7 +96,7 @@ static void * etmc_initialize_value (ETableModel *etm, int col) { ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm); - + if (etmc->initialize_value) return etmc->initialize_value (etm, col, etmc->data); else @@ -107,7 +107,7 @@ static gboolean etmc_value_is_empty (ETableModel *etm, int col, const void *value) { ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm); - + if (etmc->value_is_empty) return etmc->value_is_empty (etm, col, value, etmc->data); else @@ -118,7 +118,7 @@ static char * etmc_value_to_string (ETableModel *etm, int col, const void *value) { ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm); - + if (etmc->value_to_string) return etmc->value_to_string (etm, col, value, etmc->data); else @@ -129,7 +129,7 @@ static void etmc_append_row (ETableModel *etm, ETableModel *source, int row) { ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm); - + if (etmc->append_row) etmc->append_row (etm, source, row, etmc->data); } @@ -179,7 +179,7 @@ e_table_memory_callbacks_init (ETableMemoryCalbacks *etmc) * Instead, ETableMemoryCalbacksModel uses a setup based in callback functions, every * callback function signature mimics the signature of each ETableModel method * and passes the extra @data pointer to each one of the method to provide them - * with any context they might want to use. + * with any context they might want to use. * * Returns: An ETableMemoryCalbacksModel object (which is also an ETableModel * object). @@ -210,6 +210,6 @@ e_table_memory_callbacks_new (ETableMemoryCalbacksColumnCountFn col_count, et->value_is_empty = value_is_empty; et->value_to_string = value_to_string; et->data = data; - + return (ETableModel *) et; } |