/** configvec.c **/ #include static void retrieveVector(); static void storeVector(); int main(int argc,char *argv[]) { gnome_init("configvec","1.0",argc,argv); storeVector(); retrieveVector(); exit(0); } static void storeVector() { gint user_count = 5; const gchar *user_name[] = { "fred", "wilford", "ship worth", "norton", "maglin" }; gnome_config_set_vector("convec/user/names", user_count,user_name); gnome_config_sync(); } static void retrieveVector() { gint i; gint user_count; gchar **user_name; gnome_config_get_vector("convec/user/list", &user_count,&user_name); for(i=0; i