diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 11:21:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 00:13:22 +0800 |
commit | 6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (patch) | |
tree | 35db5fcc57f2b68c17144fe50cd8c690f6a8c9b2 /widgets/table/e-table-item.c | |
parent | e61e5e2325f8bb84fbb550d602aed000ae805a4e (diff) | |
download | gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.gz gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.bz2 gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.lz gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.xz gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.zst gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.zip |
Remove trailing whitespace, again.
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r-- | widgets/table/e-table-item.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 58d6c65f03..ce2484cafb 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -13,7 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> + * License along with the program; if not, see <http://www.gnu.org/licenses/> * * * Authors: @@ -1982,16 +1982,16 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width, cairo_save (cr); pat = cairo_pattern_create_linear (0, y1, 0, y2); - cairo_pattern_add_color_stop_rgba (pat, 0.0, background->red/65535.0 , - background->green/65535.0, + cairo_pattern_add_color_stop_rgba (pat, 0.0, background->red/65535.0 , + background->green/65535.0, background->blue/65535.0, selected ? 0.8: 1.0); if (selected) - cairo_pattern_add_color_stop_rgba (pat, 0.5, background->red/65535.0 , - background->green/65535.0, + cairo_pattern_add_color_stop_rgba (pat, 0.5, background->red/65535.0 , + background->green/65535.0, background->blue/65535.0, 0.9); - cairo_pattern_add_color_stop_rgba (pat, 1, background->red/65535.0 , - background->green/65535.0, + cairo_pattern_add_color_stop_rgba (pat, 1, background->red/65535.0 , + background->green/65535.0, background->blue/65535.0, selected ? 0.8 : 1.0); cairo_rectangle (cr, x1, y1, ecol->width, height-1); cairo_set_source (cr, pat); @@ -2003,22 +2003,22 @@ eti_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x, int y, int width, cairo_save (cr); cairo_set_line_width (cr, 1.0); - cairo_set_source_rgba (cr, background->red/65535.0 , - background->green/65535.0, + cairo_set_source_rgba (cr, background->red/65535.0 , + background->green/65535.0, background->blue/65535.0, 1); cairo_move_to (cr, x1, y1); cairo_line_to (cr, x2, y1); cairo_stroke (cr); cairo_set_line_width (cr, 1.0); - cairo_set_source_rgba (cr, background->red/65535.0 , - background->green/65535.0, + cairo_set_source_rgba (cr, background->red/65535.0 , + background->green/65535.0, background->blue/65535.0, 1); cairo_move_to (cr, x1, y2); cairo_line_to (cr, x2, y2); cairo_stroke (cr); - cairo_restore (cr); - + cairo_restore (cr); + if (free_background) gdk_color_free (background); |