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-checkbox.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-checkbox.c')
-rw-r--r-- | widgets/table/e-cell-checkbox.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/table/e-cell-checkbox.c b/widgets/table/e-cell-checkbox.c index a8b251bbbb..b00b101afa 100644 --- a/widgets/table/e-cell-checkbox.c +++ b/widgets/table/e-cell-checkbox.c @@ -39,15 +39,15 @@ G_DEFINE_TYPE (ECellCheckbox, e_cell_checkbox, E_CELL_TOGGLE_TYPE) static GdkPixbuf *checks [2]; static void -ecc_print (ECellView *ecell_view, GtkPrintContext *context, +ecc_print (ECellView *ecell_view, GtkPrintContext *context, int model_col, int view_col, int row, - double width, double height) + double width, double height) { cairo_t *cr = gtk_print_context_get_cairo_context (context); const int value = GPOINTER_TO_INT ( e_table_model_value_at (ecell_view->e_table_model, model_col, row)); - cairo_save (cr); - + cairo_save (cr); + if ( value == 1) { cairo_set_line_width (cr, 2); @@ -55,8 +55,8 @@ ecc_print (ECellView *ecell_view, GtkPrintContext *context, cairo_line_to (cr, 7, 14); cairo_line_to (cr, 11, 5); cairo_stroke (cr); - } - cairo_restore (cr); + } + cairo_restore (cr); } static void @@ -80,7 +80,7 @@ e_cell_checkbox_init (ECellCheckbox *eccb) * Creates a new ECell renderer that can be used to render check * boxes. the data provided from the model is cast to an integer. * zero is used for the off display, and non-zero for checked status. - * + * * Returns: an ECell object that can be used to render checkboxes. */ ECell * @@ -89,6 +89,6 @@ e_cell_checkbox_new (void) ECellCheckbox *eccb = g_object_new (E_CELL_CHECKBOX_TYPE, NULL); e_cell_toggle_construct (E_CELL_TOGGLE (eccb), 2, 2, checks); - + return (ECell *) eccb; } |