aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:37:20 +0800
commit8a186c3588d3598857c36e2122fa68d01eba30fd (patch)
tree731078659d4e04af8346c5ca68512d8537b3707a /widgets/table/e-table.c
parent2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff)
downloadgsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip
Coding style cleanups.
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 38ede4dd80..c1d0a2ad94 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -733,8 +733,8 @@ table_canvas_reflow_idle (ETable *e_table)
g_object_get (
e_table->canvas_vbox,
"height", &height, "width", &width, NULL);
- height = MAX ((gint)height, allocation.height);
- width = MAX ((gint)width, allocation.width);
+ height = MAX ((gint) height, allocation.height);
+ width = MAX ((gint) width, allocation.width);
/* I have no idea why this needs to be -1, but it works. */
gnome_canvas_get_scroll_region (GNOME_CANVAS (e_table->table_canvas),
NULL, NULL, &oldwidth, &oldheight);
@@ -763,7 +763,7 @@ table_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc,
g_object_get (e_table->canvas_vbox,
"height", &height,
NULL);
- height = MAX ((gint)height, alloc->height);
+ height = MAX ((gint) height, alloc->height);
g_object_set (e_table->canvas_vbox,
"width", width,
@@ -1214,7 +1214,7 @@ table_canvas_focus_event_cb (GtkWidget *widget, GdkEventFocus *event, gpointer d
} else if (!canvas->focused_item && etable->group) {
focus_first_etable_item (etable->group);
} else if (canvas->focused_item) {
- ESelectionModel *selection = (ESelectionModel *)etable->selection;
+ ESelectionModel *selection = (ESelectionModel *) etable->selection;
/* check whether click_to_add already got the focus */
if (etable->click_to_add) {
@@ -2030,7 +2030,7 @@ e_table_set_specification (ETable *e_table, const gchar *spec)
g_return_val_if_fail (spec != NULL, -1);
/* doesn't work yet, sigh */
- xmlSpec = xmlParseMemory ((gchar *)spec, strlen (spec));
+ xmlSpec = xmlParseMemory ((gchar *) spec, strlen (spec));
ret = et_real_set_specification (e_table, xmlSpec);
xmlFreeDoc (xmlSpec);