gEDA-dev: gschem: Moving component selector into a new file (PATCH)
Peter Clifton
pcjc2 at cam.ac.uk
Mon Jul 24 15:13:58 EDT 2006
Hi,
Sourceforge is down at the moment, so I've attached my patch to this
email..
This patch against CVS HEAD, splits the functionality in
gschem/src/x_fileselect.c between file-selectors, and
component-selectors in the new file gschem/src/x_compselect.c
Some un-necessary code was removed (see patch, but IIRC just some GTK
1.2 stuff, and a few functions which were #if 0'd out already).
The patch also tidies up some unused ( and unused since this patch ),
members of the FILEDIALOG structure, also introducing a near duplicate
COMPDIALOG structure so they may part company as necessary in the
future.
This required a few minor changes in gattrib, which zero'd / NULL'd the
otherwise unused members.
As I have a late GTK version, I've not fully tested the behaviour of the
"old" style file-open etc... dialogs, and someone will need to verify
that they aren't affected by the changes.
Note that as I can't "CVS add" the new file, the patch file contains a
hacked header, pretending there is that file in CVS with version 1.00
Regards
Peter Clifton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs_geda.move_compselect.patch
Type: text/x-patch
Size: 100663 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20060724/cea42ace/cvs_geda.move_compselect-0001.bin
More information about the geda-dev
mailing list