aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 11:21:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 11:21:02 +0800
commite4afd3f9fb962ea1295a0657ec9f83a427829171 (patch)
tree85d2cd048f634f344e287b55a8ed48116c21e987 /widgets/table/e-table-item.c
parent75a36a295adb64a012521c01724d6b2951986653 (diff)
downloadgsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.tar.gz
gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.tar.zst
gsoc2013-evolution-e4afd3f9fb962ea1295a0657ec9f83a427829171.zip
Remove trailing whitespace, again.
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c26
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);