aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/ea-cell-table.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-29 22:44:16 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-29 23:22:28 +0800
commit4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9 (patch)
treece1154c5d7487fbd566c5b68df90fb8259b4604e /widgets/misc/ea-cell-table.c
parente6c42ecc596fb16247e8d1d591a5d244a61d0e24 (diff)
downloadgsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar
gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.gz
gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.bz2
gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.lz
gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.xz
gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.zst
gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/misc/ea-cell-table.c')
-rw-r--r--widgets/misc/ea-cell-table.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/misc/ea-cell-table.c b/widgets/misc/ea-cell-table.c
index 95ae59dea4..be859943fd 100644
--- a/widgets/misc/ea-cell-table.c
+++ b/widgets/misc/ea-cell-table.c
@@ -44,7 +44,7 @@ ea_cell_table_create (gint rows, gint columns, gboolean column_first)
for (index = rows -1; index >= 0; --index)
cell_data->row_labels [index] = NULL;
- cell_data->cells = g_new0(gpointer, (columns * rows));
+ cell_data->cells = g_new0 (gpointer, (columns * rows));
for (index = (columns * rows) -1; index >= 0; --index)
cell_data->cells [index] = NULL;
return cell_data;
@@ -102,7 +102,7 @@ ea_cell_table_set_cell (EaCellTable * cell_data,
if (index == -1)
return FALSE;
- if (cell && G_IS_OBJECT(cell))
+ if (cell && G_IS_OBJECT (cell))
g_object_ref (cell);
if (cell_data->cells[index] &&
G_IS_OBJECT (cell_data->cells[index]))
@@ -132,7 +132,7 @@ ea_cell_table_set_cell_at_index (EaCellTable * cell_data,
if (index < 0 || index >=cell_data->columns * cell_data->rows)
return FALSE;
- if (cell && G_IS_OBJECT(cell))
+ if (cell && G_IS_OBJECT (cell))
g_object_ref (cell);
if (cell_data->cells[index] &&
G_IS_OBJECT (cell_data->cells[index]))
@@ -161,7 +161,7 @@ ea_cell_table_set_column_label (EaCellTable * cell_data,
if (cell_data->column_labels[column])
g_free (cell_data->column_labels[column]);
- cell_data->column_labels[column] = g_strdup(label);
+ cell_data->column_labels[column] = g_strdup (label);
}
G_CONST_RETURN gchar *
@@ -183,7 +183,7 @@ ea_cell_table_set_row_label (EaCellTable * cell_data,
if (cell_data->row_labels[row])
g_free (cell_data->row_labels[row]);
- cell_data->row_labels[row] = g_strdup(label);
+ cell_data->row_labels[row] = g_strdup (label);
}
gint