Fix GTK+ crashes due to bad XDG_DATA_DIRS

Joe Marcus Clarke marcus at
Tue Dec 12 12:04:36 PST 2006

There is a problem with kde-xdg-env in that it adds a duplicate path
entry to XDG_DATA_DIRS when LOCALBASE == KDE_PREFIX.  This triggers
memory corruption in the xdgmime code used by GTK+ and gnome-vfs, and
can lead to strange crashes in apps like Firefox and Thunderbird.

This patch corrects this problem and adds a missing
LOCALBASE/share/gnome path to XDG_DATA_DIRS.  May I commit, or would one
of you do the honors?  Thanks.


Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at
FreeNode / #freebsd-gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-gnome mailing list