GNOME Bugzilla – Bug 605587
draw_spell_error() doesn't restore GC fill style
Last modified: 2010-01-07 14:30:04 UTC
Created attachment 150486 [details] [review] Proposed fix The function draw_spell_error() calls gdk_gc_set_fill (gdk_painter->gc, GDK_OPAQUE_STIPPLED); presumably for underlining misspelled words. However, it doesn't reset the GC fill style after doing its drawing operations, so the opaque stippled style remains effective for unrelated drawing operations, potentially slowing them down unnecessarily. The attached patch fixes this.
Thanks for a bug report. Change looks OK. Created commit 9c3b728 in gtkhtml master (3.29.5+)