diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2014-02-16 22:36:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2014-03-03 08:36:01 +0800 |
commit | c53fbc0b8f3b98827d6816a627bdd4d467b84f74 (patch) | |
tree | 10eb8683b6d413f9ae6946dcaf303c29027a84ef /libgnomecanvas/gnome-canvas-text.c | |
parent | 1e3d8b5c68754c377c54423f1fb9a322eb3ec9e8 (diff) | |
download | gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.gz gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.bz2 gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.lz gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.xz gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.zst gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.zip |
Miscellaneous cleanups.
Diffstat (limited to 'libgnomecanvas/gnome-canvas-text.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-text.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libgnomecanvas/gnome-canvas-text.c b/libgnomecanvas/gnome-canvas-text.c index f0c5308aed..e030b9b73b 100644 --- a/libgnomecanvas/gnome-canvas-text.c +++ b/libgnomecanvas/gnome-canvas-text.c @@ -583,13 +583,13 @@ gnome_canvas_text_init (GnomeCanvasText *text) text->font_desc = NULL; - text->underline = PANGO_UNDERLINE_NONE; + text->underline = PANGO_UNDERLINE_NONE; text->strikethrough = FALSE; - text->rise = 0; + text->rise = 0; text->underline_set = FALSE; - text->strike_set = FALSE; - text->rise_set = FALSE; + text->strike_set = FALSE; + text->rise_set = FALSE; } /* Dispose handler for the text item */ @@ -1330,8 +1330,8 @@ gnome_canvas_text_draw (GnomeCanvasItem *item, cr, ((text->rgba >> 24) & 0xff) / 255.0, ((text->rgba >> 16) & 0xff) / 255.0, - ((text->rgba >> 8) & 0xff) / 255.0, - ( text->rgba & 0xff) / 255.0); + ((text->rgba >> 8) & 0xff) / 255.0, + ( text->rgba & 0xff) / 255.0); cairo_move_to (cr, text->cx - x, text->cy - y); pango_cairo_show_layout (cr, text->layout); |