r18042 - gnucash/trunk/src - Remove magic strings - "gnc-guppi-pie" and other chart object types were separately defined

Phil Longstaff plongstaff at code.gnucash.org
Fri Apr 10 22:52:44 EDT 2009


Author: plongstaff
Date: 2009-04-10 22:52:43 -0400 (Fri, 10 Apr 2009)
New Revision: 18042
Trac: http://svn.gnucash.org/trac/changeset/18042

Added:
   gnucash/trunk/src/html/gnc-html-graph-gog-extras.h
Modified:
   gnucash/trunk/src/html/gnc-html-graph-gog-gtkhtml.c
   gnucash/trunk/src/html/gnc-html-graph-gog-webkit.c
   gnucash/trunk/src/html/gnc-html.i
   gnucash/trunk/src/report/report-system/html-barchart.scm
   gnucash/trunk/src/report/report-system/html-linechart.scm
   gnucash/trunk/src/report/report-system/html-piechart.scm
   gnucash/trunk/src/report/report-system/html-scatter.scm
Log:
Remove magic strings - "gnc-guppi-pie" and other chart object types were separately defined
in both the .c file and the .scm files where the chart html was created.  This change defines
the values once, in gnc-html-graph-gog-extras.h, and these #defines are used and passed into
guile for use in the scm files.





More information about the gnucash-patches mailing list