Re: Help with gnome_config
- From: Federico Mena <federico nuclecu unam mx>
- To: gnome-list gnome org
- Subject: Re: Help with gnome_config
- Date: Wed, 28 Jan 1998 00:07:38 -0600
> #include <string.h>
> #include <gtk/gtk.h>
> #include <libgnome/libgnome.h>
>
> int main (int argc, char **argv) {
> gnomelib_init (&argc, &argv) ;
> gnome_config_set_string ("/test/test/test", "test") ;
> return 0 ;
> }
>
> What else do I need to do? I even tried creating the config file by hand,
> adding the section, and a 'test' key and different value. I tried
> stepping through it in gdb but couldn't follow the pointers well enough to
> know what it was doing.
You should call gnome_config_sync() when you are done with the config
file so that it will be updated.
Quartic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]