Re: API to read cfg files



Sorry, I forgot to say that I'm trying to use the gnome-config
library... but nothing is happening.  I try calling
gnome_config_set_string(), but the file isn't created if it doesn't exist,
and isn't modified if it does.  Do I need to call some initialization
function before I can use the gnome_config* functions?

--Tonio


"Most people don't realize that large pieces of coral, which have been 
painted brown and attached to the skull by common wood screws, can make a 
child look like a deer."

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E d-(+)>-- s:++>:+ a-- C++++ UL++++$ P++ L++ E>++ W+ N o?
K++>++++++ w--- O? M-(+) V-- !PS !PE Y?>++ PGP t+ 5>++ X-- R++
tv-- b++++ DI+ D+ G e>+++++ h* r-- y+*
------END GEEK CODE BLOCK------

On Sun, 24 Sep 2000, Juan Antonio Ramirez Morell wrote:

> 
> 
> Hi,
> 
> I'm new to the list, recently started developing a simple GNOME
> applet... and now I want it to be able to read a cfg file with the same
> format as the others I've seen.  Is there a standard GNOME API for this?
> 
> --Tonio
> 
> 
> Early bird gets the worm, but the second mouse gets the cheese.
> 
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS/E d-(+)>-- s:++>:+ a-- C++++ UL++++$ P++ L++ E>++ W+ N o?
> K++>++++++ w--- O? M-(+) V-- !PS !PE Y?>++ PGP t+ 5>++ X-- R++
> tv-- b++++ DI+ D+ G e>+++++ h* r-- y+*
> ------END GEEK CODE BLOCK------
> 
> 
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]