xfce_rc_delete_entry not working

Brian J. Tarricone bjt23 at cornell.edu
Wed Apr 19 19:00:37 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benedikt Meurer wrote:

> I just checked it, and it does indeed work. See the attached example.
> Can you try the example?
> 
> Benedikt
> 
> 
> ------------------------------------------------------------------------
> 
> #include <libxfce4util/libxfce4util.h>
> 
> 
> int
> main (int argc, char **argv)
> {
>   XfceRc *rc;
> 
>   rc = xfce_rc_simple_open ("delete.rc", FALSE);
>   xfce_rc_set_group (rc, "Test");
>   xfce_rc_delete_entry (rc, "Key", TRUE);
>   xfce_rc_close (rc);
> 
>   return 0;
> }

In his example, Juha wasn't setting a group.  Could that make a difference?

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFERmy16XyW6VEeAnsRAu4UAKCAFJKMKDGXXDGn13SdHb6e1JuIFACfWOrH
UQdRYouIgbXH+npa6LA6w/s=
=OwZl
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list