Bug#576624: Segfault when loading the background pixbuf failed

Wen-Yen Chuang caleb at calno.com
Fri Apr 9 03:22:07 UTC 2010


tags 576624 patch
thanks

The attached patch will fix both problems for
vte_terminal_set_background_image_file() and
vte_terminal_set_background_transparent().

Upstream git codebase has changed much, so I will not send this patch to
upstream.

The most easy way to test the patch:
1. run Xephyr (and do not set any background)

2. run evilvte in Sid(and Sueeze)

3. Right-click in evilvte and select "Toggle background"

   It is cycled by the sequence:
    "background image at $HOME/.config/evilvte/background.png",
    "pseudo transparency",
    "no background and no transparency (aka black)"

   When there is no $HOME/.config/evilvte/background.png,
   evilvte will show nothing as background(aka black).

   You may link any image file to $HOME/.config/evilvte/background.png.
   (All image formats that can be processed by GTK+, not only png.)

4. Everything should be fine with the patch.

Kind regards
 Wen-Yen Chuang (caleb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vte_no_bg_for_transparent.patch
Type: text/x-diff
Size: 901 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100409/f3f3bee9/attachment.patch>


More information about the pkg-gnome-maintainers mailing list