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
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:11 +0800
commit54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch)
treec62c9ac6d08670dffc400ff00117508512ce4f8b /widgets/table/e-table.c
parentfe20f70779fb486169a0735499d24e001ffa0cab (diff)
downloadgsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.bz2
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.lz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.xz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.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);