xfcerc vs gkeyfile

Stephan Arts stephan at xfce.org
Mon Jan 14 00:43:11 CET 2008


On Jan 14, 2008 12:34 AM, Brian J. Tarricone <bjt23 at cornell.edu> wrote:
>
> On Sun, 13 Jan 2008 23:13:28 +0100 Stephan Arts wrote:
>
> > When looking at xfcerc, it seems remarkably similar to the g_key_file
> > stuff in glib.
> >
> > I was wondering if we could deprecate xfcerc for 4.6 and move to
> > g_key_file.
>
> If you want to take the time to figure out and verify that it at least
> does everything XfceRc does, then sure.

Well, there are two things missing.

- xfce_rc_flush
- xfce_rc_is_dirty

Since the g_key_file does not support writing the stuff back to the
files itself. Though you can extract a string from it and write that
manually.

In any other way, it behaves similar.

Regards,
Stephan



More information about the Xfce4-dev mailing list