diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:23 +0800 |
commit | 7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f (patch) | |
tree | 7051840d082b6f478c86efe8c350c53754152eb0 /widgets/text | |
parent | e216530dcdc494950afb6355723a6104ab1f25ea (diff) | |
download | gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.gz gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.bz2 gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.lz gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.xz gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.tar.zst gsoc2013-evolution-7e9fc6d2b61287deaac0fa17e4dc19164c9ad51f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-text.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index cbae6d1da8..6ce9716b00 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -768,8 +768,8 @@ e_text_set_property (GObject *object, (color.green & 0xff00) << 8 | (color.blue & 0xff00) | 0xff); - text->needs_redraw = 1; - needs_update = 1; + text->needs_redraw = 1; + needs_update = 1; break; case PROP_FILL_COLOR_GDK: @@ -782,8 +782,8 @@ e_text_set_property (GObject *object, (color.green & 0xff00) << 8 | (color.blue & 0xff00) | 0xff); - text->needs_redraw = 1; - needs_update = 1; + text->needs_redraw = 1; + needs_update = 1; break; case PROP_FILL_COLOR_RGBA: @@ -791,8 +791,8 @@ e_text_set_property (GObject *object, color.red = ((text->rgba >> 24) & 0xff) * 0x101; color.green = ((text->rgba >> 16) & 0xff) * 0x101; color.blue = ((text->rgba >> 8) & 0xff) * 0x101; - text->needs_redraw = 1; - needs_update = 1; + text->needs_redraw = 1; + needs_update = 1; break; case PROP_EDITABLE: @@ -1456,7 +1456,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable, if (text->clip) { cairo_rectangle (cr, - xpos, ypos, + xpos, ypos, text->clip_cwidth - text->xofs, text->clip_cheight - text->yofs); cairo_clip (cr); |