aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-hbox.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-13 22:58:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-15 04:58:16 +0800
commita4d8c30310cfcd95a54153930336ff8196adde76 (patch)
treeedb331107ef6b418be65bf34be0bbf8f78387222 /widgets/table/e-cell-hbox.c
parentd47adb5922a262effdd14c1c50bb0a3660088798 (diff)
downloadgsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.tar
gsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.tar.gz
gsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.tar.bz2
gsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.tar.lz
gsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.tar.xz
gsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.tar.zst
gsoc2013-evolution-a4d8c30310cfcd95a54153930336ff8196adde76.zip
Merge miscellaneous changes from gtk3 branch.
Mostly coding style and whitespace changes, to reduce diff noise.
Diffstat (limited to 'widgets/table/e-cell-hbox.c')
-rw-r--r--widgets/table/e-cell-hbox.c22
1 files changed, 16 insertions, 6 deletions
diff --git a/widgets/table/e-cell-hbox.c b/widgets/table/e-cell-hbox.c
index 1e6c4a6efc..6f587db9d2 100644
--- a/widgets/table/e-cell-hbox.c
+++ b/widgets/table/e-cell-hbox.c
@@ -138,9 +138,16 @@ ecv_unrealize (ECellView *ecv)
* ECell::draw method
*/
static void
-ecv_draw (ECellView *ecell_view, GdkDrawable *drawable,
- gint model_col, gint view_col, gint row, ECellFlags flags,
- gint x1, gint y1, gint x2, gint y2)
+ecv_draw (ECellView *ecell_view,
+ GdkDrawable *drawable,
+ gint model_col,
+ gint view_col,
+ gint row,
+ ECellFlags flags,
+ gint x1,
+ gint y1,
+ gint x2,
+ gint y2)
{
ECellHboxView *hbox_view = (ECellHboxView *)ecell_view;
@@ -156,9 +163,12 @@ ecv_draw (ECellView *ecell_view, GdkDrawable *drawable,
if (width < hbox_view->def_size_cols[i])
width = hbox_view->def_size_cols[i];
printf("width of %d %d of %d\n", width,hbox_view->def_size_cols[i], allotted_width ); */
- e_cell_draw (hbox_view->subcell_views[i], drawable,
- hbox_view->model_cols[i], view_col, row, flags,
- x1 + subcell_offset , y1, x1 + subcell_offset + width, y2);
+
+ e_cell_draw (
+ hbox_view->subcell_views[i], drawable,
+ hbox_view->model_cols[i], view_col, row, flags,
+ x1 + subcell_offset , y1,
+ x1 + subcell_offset + width, y2);
subcell_offset += width; /* e_cell_max_width_by_row (hbox_view->subcell_views[i], hbox_view->model_cols[i], view_col, row); */
}