[Evolution] Bug#562483: draw_spell_error() fails to restore GC fill style

Michel Dänzer daenzer at debian.org
Thu Dec 24 17:22:59 UTC 2009

Package: libgtkhtml3.14-19
Version: 3.28.2-1
Severity: normal
Tags: patch

Hash: SHA1

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.

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (102, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgtkhtml3.14-19 depends on:
ii  libatk1.0-0            1.28.0-1          The ATK accessibility toolkit
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libenchant1c2a         1.4.2-3.4         a wrapper library for various spel
ii  libfontconfig1         2.6.0-4.2         generic font configuration library
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  libgail18              2.18.5-1          GNOME Accessibility Implementation
ii  libgconf2-4            2.28.0-1          GNOME configuration database syste
ii  libglib2.0-0           2.22.3-1          The GLib library of C routines
ii  libgtk2.0-0            2.18.5-1          The GTK+ graphical user interface 
ii  libpango1.0-0          1.26.2-1          Layout and rendering of internatio
ii  zlib1g                 1: compression library - runtime

libgtkhtml3.14-19 recommends no packages.

Versions of packages libgtkhtml3.14-19 suggests:
pn  libgtkhtml3.14-dbg            <none>     (no description available)

- -- no debconf information

Version: GnuPG v1.4.10 (GNU/Linux)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkhtml.diff
Type: text/x-diff
Size: 740 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-evolution-maintainers/attachments/20091224/3a911f72/attachment.diff>

More information about the Pkg-evolution-maintainers mailing list