diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-08 10:13:03 +0800 |
commit | a891b81cfb3430a764dab0d5644114c4dab22297 (patch) | |
tree | de13086dc548fc1fc7dd626e115563baf97eb747 /widgets/text | |
parent | b5bd3ae53c7f34112557668979cb2c7052d2790b (diff) | |
download | gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.gz gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.tar.zst gsoc2013-evolution-a891b81cfb3430a764dab0d5644114c4dab22297.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); |