Cleaned up and consolidated code which creates new pages.
commita4e2056447609987e2e727293842ca979f816dac
authorPeter Clifton <pcjc2@cam.ac.uk>
Sat, 21 Apr 2007 23:05:33 +0000 (21 23:05 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sat, 21 Apr 2007 23:05:33 +0000 (21 23:05 +0000)
tree72d85d7ced3b3c2fe0a9fcdc0746a289225833ae
parenta34afc1a9593c310659164e2d931ae533b438c8b
Cleaned up and consolidated code which creates new pages.

This makes the code cleaner and easier to read, and fixes bugs related
to stray, "unknown" named pages being left when creating a new window.
Fixes bug #1699970, with changes based upon patch #1704834.
gschem/ChangeLog
gschem/src/gschem.c
gschem/src/i_callbacks.c
gschem/src/x_fileselect.c
gschem/src/x_pagesel.c
gschem/src/x_window.c