Implement. Create a copy of a preferences structure (clone_cb): Implement
2001-05-06 Bradford Hovinen <hovinen@ximian.com> * preferences.c (preferences_clone): Implement. Create a copy of a preferences structure (clone_cb): Implement (read_prefs_from_db): Parse screensavers from a copy of the string so that we don't overwrite the original * main.c (main): Call preferences_clone instead of reloading old preferences
This commit is contained in:
parent
7bfddd30e4
commit
6fb797ca6b
5 changed files with 58 additions and 4 deletions
|
@ -400,8 +400,7 @@ main (int argc, char **argv)
|
|||
#endif /* HAVE_XIMIAN_ARCHIVER */
|
||||
|
||||
if (!res) {
|
||||
old_prefs = preferences_new ();
|
||||
preferences_load (old_prefs);
|
||||
old_prefs = preferences_clone (prefs);
|
||||
setup_capplet_widget ();
|
||||
|
||||
capplet_gtk_main ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue