diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/table/e-cell-vbox.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip |
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/table/e-cell-vbox.c')
-rw-r--r-- | widgets/table/e-cell-vbox.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/widgets/table/e-cell-vbox.c b/widgets/table/e-cell-vbox.c index ff060b9a86..e9033b4f23 100644 --- a/widgets/table/e-cell-vbox.c +++ b/widgets/table/e-cell-vbox.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-cell-vbox.c - Vbox cell object. * Copyright 1999, 2000, 2001, Ximian, Inc. * @@ -55,13 +55,13 @@ ecv_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view) ECellVbox *ecv = E_CELL_VBOX (ecell); ECellVboxView *vbox_view = g_new0 (ECellVboxView, 1); int i; - + vbox_view->cell_view.ecell = ecell; vbox_view->cell_view.e_table_model = table_model; vbox_view->cell_view.e_table_item_view = e_table_item_view; vbox_view->cell_view.kill_view_cb = NULL; vbox_view->cell_view.kill_view_cb_data = NULL; - + /* create our subcell view */ vbox_view->subcell_view_count = ecv->subcell_count; vbox_view->subcell_views = g_new (ECellView *, vbox_view->subcell_view_count); @@ -198,7 +198,7 @@ ecv_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, * ECell::height method */ static int -ecv_height (ECellView *ecell_view, int model_col, int view_col, int row) +ecv_height (ECellView *ecell_view, int model_col, int view_col, int row) { ECellVboxView *vbox_view = (ECellVboxView *)ecell_view; int height = 0; @@ -235,7 +235,7 @@ ecv_max_width (ECellView *ecell_view, int model_col, int view_col) static void ecv_show_tooltip (ECellView *ecell_view, int model_col, int view_col, int row, int col_width, ETableTooltip *tooltip) -{ +{ ECellVboxView *vbox_view = (ECellVboxView *) ecell_view; EVboxModel *vbox_model = e_cell_vbox_get_vbox_model (ecell_view->e_table_model, row); EVboxPath node = e_cell_vbox_get_node (ecell_view->e_table_model, row); @@ -255,12 +255,12 @@ ecv_show_tooltip (ECellView *ecell_view, int model_col, int view_col, int row, */ static char * ecv_get_bg_color (ECellView *ecell_view, int row) -{ +{ ECellVboxView *vbox_view = (ECellVboxView *) ecell_view; return e_cell_get_bg_color (vbox_view->subcell_views[0], row); } - + /* * ECellView::enter_edit method */ @@ -286,7 +286,7 @@ ecv_leave_edit (ECellView *ecell_view, int model_col, int view_col, int row, voi } static void -ecv_print (ECellView *ecell_view, GnomePrintContext *context, +ecv_print (ECellView *ecell_view, GnomePrintContext *context, int model_col, int view_col, int row, double width, double height) { @@ -351,7 +351,7 @@ ecv_print (ECellView *ecell_view, GnomePrintContext *context, /* now draw our icon if we're expandable */ if (expandable) { double image_matrix [6] = {16, 0, 0, 16, 0, 0}; - GdkPixbuf *image = (expanded + GdkPixbuf *image = (expanded ? E_CELL_VBOX(vbox_view->cell_view.ecell)->open_pixbuf : E_CELL_VBOX(vbox_view->cell_view.ecell)->closed_pixbuf); int image_width, image_height, image_rowstride; @@ -384,7 +384,7 @@ ecv_print (ECellView *ecell_view, GnomePrintContext *context, } static gdouble -ecv_print_height (ECellView *ecell_view, GnomePrintContext *context, +ecv_print_height (ECellView *ecell_view, GnomePrintContext *context, int model_col, int view_col, int row, double width) { @@ -463,10 +463,10 @@ e_cell_vbox_init (ECellVbox *ecv) /** * e_cell_vbox_new: - * + * * Creates a new ECell renderer that can be used to render multiple * child cells. - * + * * Return value: an ECell object that can be used to render multiple * child cells. **/ |