[gtkhtml] Bug #605587 - draw_spell_error() doesn't restore GC fill style
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkhtml] Bug #605587 - draw_spell_error() doesn't restore GC fill style
- Date: Thu, 7 Jan 2010 14:29:19 +0000 (UTC)
commit 9c3b7285da349f845a8b29a278bc12bb65cad29b
Author: Michel Dänzer <daenzer debian org>
Date: Thu Jan 7 15:28:20 2010 +0100
Bug #605587 - draw_spell_error() doesn't restore GC fill style
gtkhtml/htmlgdkpainter.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtkhtml/htmlgdkpainter.c b/gtkhtml/htmlgdkpainter.c
index 803b755..4d24365 100644
--- a/gtkhtml/htmlgdkpainter.c
+++ b/gtkhtml/htmlgdkpainter.c
@@ -682,6 +682,7 @@ draw_spell_error (HTMLPainter *painter, gint x, gint y, gint width)
gdk_draw_line (gdk_painter->pixmap, gdk_painter->gc, x, y, x + width, y);
gdk_gc_set_dashes (gdk_painter->gc, 0, dash_list, 2);
gdk_draw_line (gdk_painter->pixmap, gdk_painter->gc, x, y + 1, x + width, y + 1);
+ gdk_gc_set_fill (gdk_painter->gc, values.fill);
gdk_gc_set_line_attributes (gdk_painter->gc, values.line_width,
values.line_style, values.cap_style, values.join_style);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]