I gave up trying to find out why inkspace_dispose does not run, nor whether it is supposed to run, so I did this:
void inkscape_exit (Inkscape *inkscape) { // added if (inkscape->preferences) { inkscape_save_preferences (inkscape); }
gtk_main_quit (); }
This works for me. Preferences are saved on exit. I also added saving preferences to segv_handler so they are not lost upon crash.
What troubles me is that I still don't understand how it worked before. Has anyone changed anything recently that could affect this?
Please object and criticize. If there are no objections I will commit this change.
On Mon, 17 Nov 2003, bulia byak wrote:
I gave up trying to find out why inkspace_dispose does not run, nor whether it is supposed to run, so I did this:
void inkscape_exit (Inkscape *inkscape) { // added if (inkscape->preferences) { inkscape_save_preferences (inkscape); }
gtk_main_quit (); }
This works for me. Preferences are saved on exit. I also added saving preferences to segv_handler so they are not lost upon crash.
What troubles me is that I still don't understand how it worked before. Has anyone changed anything recently that could affect this?
Please object and criticize. If there are no objections I will commit this change.
Did it work before? I can't recall ever seeing my settings persist between settings. Possibly you've just implemented a longstanding feature request. ;-)
Since nobody has said anything, go ahead and commit it now, and we can see if it causes any problems.
Bryce
participants (2)
-
Bryce Harrington
-
bulia byak