xdg user directory patches for xfce 4.4.2

Jannis Pohlmann jannis at xfce.org
Sun Aug 10 15:40:34 CEST 2008


Hey,

Am Sun, 10 Aug 2008 15:22:50 +0200
schrieb Andrea Santilli <yawara at quipo.it>:

> hello all,
> I was running xfce 4.4.2 on Fedora 9 when I noticed that it did not
> recognize the xdg user directories. I found this quite annoying so I
> filed a bug report to bugzilla
> (https://bugzilla.redhat.com/show_bug.cgi?id=457740) 
> The guy there pointed me out that this features is probably going to
> be included in version 4.6.x and that there were no planes to
> backport it to the 4.4.x branch.
> Hence I submitted 3 patches to force xfce recognize such directories.
> Please could you developers point me out whether those patches are
> correct enough and the eventual details I forgot?
> I'm attaching those patches to this email too.
> Thank you in advance.
> A. Santilli

the main problem I see is your use of g_get_user_special_dir() which
was introduced with GLib 2.14. Xfce 4.6 is going to be based on GTK+
2.10 and GLib 2.12, thus we cannot use that function unless it is
surrounded by an #ifdef GLIB_CHECK_VERSION(2,14,0).

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080810/90ea29eb/attachment.pgp>


More information about the Xfce4-dev mailing list