Bug#396043: Nailed it down..

Andreas Henriksson andreas at fatal.se
Sun Oct 29 23:47:56 CET 2006


tags 396043 + patch
thanks

Ok, got it....

gnome-hearts crashes when it's not able to find the configured cards
style, since no card style gets activated!

The default "bonded.png" style doesn't seem to be available in the
package. This should probably be fixed as well, so the default
configuration is sensible. (Eigther by adding it, or by using another
default.)

Incorrectly configured styles should probably give a warning and
possibly force the user to chose another one.... I'll leave that up to
someone else to implement.

The attached patch is the most simple workaround I could think of.
Always activate the first available style to make sure one is active.
(selected style will then override if there is a valid configuration
found while loading the other available styles.)

(This means: if there are _no_ styles available the application will
still crash, but atleast it won't crash as soon as it's incorrectly
configured...)


Regards,
Andreas Henriksson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-hearts-stylesegfault.diff
Type: text/x-patch
Size: 591 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20061029/ad42ffa2/gnome-hearts-stylesegfault.bin


More information about the Pkg-gnome-maintainers mailing list