diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-17 00:11:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 10:52:36 +0800 |
commit | a538f3f3100dbdbae1ea172ae3b8344e650d529d (patch) | |
tree | f1f8b15c56dbe92e46352853373382af9bf92de0 /widgets/table/e-cell-hbox.c | |
parent | d8fd55f9ec0e70a0d5c8529ea989f8c272d0c443 (diff) | |
download | gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.gz gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.tar.zst gsoc2013-evolution-a538f3f3100dbdbae1ea172ae3b8344e650d529d.zip |
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'widgets/table/e-cell-hbox.c')
-rw-r--r-- | widgets/table/e-cell-hbox.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-cell-hbox.c b/widgets/table/e-cell-hbox.c index 6c0bded852..5552bd33b2 100644 --- a/widgets/table/e-cell-hbox.c +++ b/widgets/table/e-cell-hbox.c @@ -152,15 +152,15 @@ ecv_draw (ECellView *ecell_view, GdkDrawable *drawable, /* Now cause our subcells to draw their contents, shifted by subcell_offset pixels */ int width = allotted_width * hbox_view->def_size_cols[i] / 100; - //e_cell_max_width_by_row (hbox_view->subcell_views[i], hbox_view->model_cols[i], view_col, row); -// 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_max_width_by_row (hbox_view->subcell_views[i], hbox_view->model_cols[i], view_col, row); + 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); - subcell_offset += width; //e_cell_max_width_by_row (hbox_view->subcell_views[i], hbox_view->model_cols[i], view_col, row); + subcell_offset += width; /* e_cell_max_width_by_row (hbox_view->subcell_views[i], hbox_view->model_cols[i], view_col, row); */ } } |