aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-memory-callbacks.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-11 23:50:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-12 02:14:04 +0800
commitebcce86769d174cce6e881740c5e9bcedce28e06 (patch)
treeb2cc2d18ceb0c3bd3e78f5b768c1b6926b69bb4a /widgets/table/e-table-memory-callbacks.c
parent1e3deb31476cf0026011876327be83e9a47847ee (diff)
downloadgsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.gz
gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.tar.zst
gsoc2013-evolution-ebcce86769d174cce6e881740c5e9bcedce28e06.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'widgets/table/e-table-memory-callbacks.c')
-rw-r--r--widgets/table/e-table-memory-callbacks.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/table/e-table-memory-callbacks.c b/widgets/table/e-table-memory-callbacks.c
index e37c1aab88..8bdfc585df 100644
--- a/widgets/table/e-table-memory-callbacks.c
+++ b/widgets/table/e-table-memory-callbacks.c
@@ -32,7 +32,7 @@ G_DEFINE_TYPE (ETableMemoryCalbacks, e_table_memory_callbacks, E_TABLE_MEMORY_TY
static gint
etmc_column_count (ETableModel *etm)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->col_count)
return etmc->col_count (etm, etmc->data);
@@ -43,7 +43,7 @@ etmc_column_count (ETableModel *etm)
static gpointer
etmc_value_at (ETableModel *etm, gint col, gint row)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->value_at)
return etmc->value_at (etm, col, row, etmc->data);
@@ -54,7 +54,7 @@ etmc_value_at (ETableModel *etm, gint col, gint row)
static void
etmc_set_value_at (ETableModel *etm, gint col, gint row, gconstpointer val)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->set_value_at)
etmc->set_value_at (etm, col, row, val, etmc->data);
@@ -63,7 +63,7 @@ etmc_set_value_at (ETableModel *etm, gint col, gint row, gconstpointer val)
static gboolean
etmc_is_cell_editable (ETableModel *etm, gint col, gint row)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->is_cell_editable)
return etmc->is_cell_editable (etm, col, row, etmc->data);
@@ -75,7 +75,7 @@ etmc_is_cell_editable (ETableModel *etm, gint col, gint row)
static gpointer
etmc_duplicate_value (ETableModel *etm, gint col, gconstpointer value)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->duplicate_value)
return etmc->duplicate_value (etm, col, value, etmc->data);
@@ -86,7 +86,7 @@ etmc_duplicate_value (ETableModel *etm, gint col, gconstpointer value)
static void
etmc_free_value (ETableModel *etm, gint col, gpointer value)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->free_value)
etmc->free_value (etm, col, value, etmc->data);
@@ -95,7 +95,7 @@ etmc_free_value (ETableModel *etm, gint col, gpointer value)
static gpointer
etmc_initialize_value (ETableModel *etm, gint col)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->initialize_value)
return etmc->initialize_value (etm, col, etmc->data);
@@ -106,7 +106,7 @@ etmc_initialize_value (ETableModel *etm, gint col)
static gboolean
etmc_value_is_empty (ETableModel *etm, gint col, gconstpointer value)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->value_is_empty)
return etmc->value_is_empty (etm, col, value, etmc->data);
@@ -117,7 +117,7 @@ etmc_value_is_empty (ETableModel *etm, gint col, gconstpointer value)
static gchar *
etmc_value_to_string (ETableModel *etm, gint col, gconstpointer value)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->value_to_string)
return etmc->value_to_string (etm, col, value, etmc->data);
@@ -128,7 +128,7 @@ etmc_value_to_string (ETableModel *etm, gint col, gconstpointer value)
static void
etmc_append_row (ETableModel *etm, ETableModel *source, gint row)
{
- ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS(etm);
+ ETableMemoryCalbacks *etmc = E_TABLE_MEMORY_CALLBACKS (etm);
if (etmc->append_row)
etmc->append_row (etm, source, row, etmc->data);