* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h: fixed a crash (the one triggered by
this sequence: draw a line, delete it, redraw something), and
corrected some ui spacing.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: replace the crappy DAllObjs struct by a GList.
Makes the code cleaner and less error prone.
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: some more cleanups. The current_style bug is
still there :(
* plug-ins/gfig/gfig-types.h: new file to hold the types gfig uses.
This makes the sources easier to read.
* plug-ins/gfig/Makefile.am: added gfig-types.h
* plug-ins/gfig/gfig.h: removed some types definitions and put them
in gfig-types.h and ...
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-style.h: ...into these files.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.[ch]
* plug-ins/gfig/gfig.c: added buttons to select an object, and
raise or lower the selected object; also a few minor cleanups.
* plug-ins/gfig/*.[ch]: Use single centralized functions to
create, load, and save objects, instead of separate functions
for each type of object. A few other miscellaneous fixes.
* plug-ins/gfig/*.[ch]: a bunch of code clean-up and
debugging. Created "classes" for the objects, and
attached functions to classes rather than objects.
* plug-ins/gfig/gfig-dialog.[ch]:
* plug-ins/gfig/gfig-style.[ch]:
* plug-ins/gfig/notes.txt: New files.
* plug-ins/gfig/*.[ch]: Complete reworking of the gfig plug-in.
See 'notes.txt' for a summary of what has changed, and how to use
it now. Plenty of bugs have been introduced, which will take a
while to straighten out.