r23350 - gnucash/trunk/src - Move state handling code to separate file and improve on it

Geert Janssens gjanssens at code.gnucash.org
Tue Oct 29 15:26:08 EDT 2013


Author: gjanssens
Date: 2013-10-29 15:26:02 -0400 (Tue, 29 Oct 2013)
New Revision: 23350
Trac: http://svn.gnucash.org/trac/changeset/23350

Added:
   gnucash/trunk/src/app-utils/gnc-state.c
   gnucash/trunk/src/app-utils/gnc-state.h
Modified:
   gnucash/trunk/src/app-utils/Makefile.am
   gnucash/trunk/src/app-utils/file-utils.c
   gnucash/trunk/src/app-utils/file-utils.h
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
   gnucash/trunk/src/gnome/top-level.c
Log:
Move state handling code to separate file and improve on it

- keep the state information in memory while gnucash is running
- upon saving the state, only delete those sections that will be
  recreated by the save_all_state function



More information about the gnucash-patches mailing list