r17610 - gnucash/trunk/src - Unite report and check print settings.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Sep 28 11:31:53 EDT 2008


Author: andi5
Date: 2008-09-28 11:31:50 -0400 (Sun, 28 Sep 2008)
New Revision: 17610
Trac: http://svn.gnucash.org/trac/changeset/17610

Modified:
   gnucash/trunk/src/gnome-utils/Makefile.am
   gnucash/trunk/src/gnome-utils/gnc-html.c
   gnucash/trunk/src/gnome-utils/print-session.c
   gnucash/trunk/src/gnome-utils/print-session.h
   gnucash/trunk/src/gnome/dialog-print-check.c
Log:
Unite report and check print settings.

If Gtk+ includes GtkPrint support, i.e. HAVE_GTK_2_10 is defined, and GtkHTML
uses it, i.e. GTKHTML_USES_GTKPRINT, then we currently save and restore print
settings in two different locations, namely static variables in gnc-html.c and
dialog-print-check.c.

Instead, add the function gnc_print_operation_{save,restore}_print_settings() to
print-session.[ch] to have a unique global location for them.



More information about the gnucash-patches mailing list