[Igarden-commit] Garden/source/Document CPlanPanel.h, 1.12, 1.12.2.1 CPlanPanel.cp, 1.43.2.3, 1.43.
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-28 05:48:06
|
Update of /cvsroot/igarden/Garden/source/Document In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv5676 Modified Files: Tag: Release_branch_v1 CPlanPanel.h CPlanPanel.cp Log Message: FIx crash updating preferences on closed files Index: CPlanPanel.cp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CPlanPanel.cp,v retrieving revision 1.43.2.3 retrieving revision 1.43.2.4 diff -C2 -d -r1.43.2.3 -r1.43.2.4 *** CPlanPanel.cp 20 Jan 2007 00:42:43 -0000 1.43.2.3 --- CPlanPanel.cp 28 Jan 2007 05:48:05 -0000 1.43.2.4 *************** *** 928,932 **** // --------------------------------------------------------------------------- // ! void CPlanPanel::DoPreferencesChanges( long arg, void* parg ) { measureUnits_t units; --- 928,932 ---- // --------------------------------------------------------------------------- // ! long CPlanPanel::DoPreferencesChanges( long arg, void* parg ) { measureUnits_t units; *************** *** 956,959 **** --- 956,960 ---- _printGrid = prefs->GetBoolPref(kPrintGridPref); } + return _planView->DoPreferenceChanged( arg, parg ); } // --------------------------------------------------------------------------- Index: CPlanPanel.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CPlanPanel.h,v retrieving revision 1.12 retrieving revision 1.12.2.1 diff -C2 -d -r1.12 -r1.12.2.1 *** CPlanPanel.h 11 Feb 2006 16:50:14 -0000 1.12 --- CPlanPanel.h 28 Jan 2007 05:48:05 -0000 1.12.2.1 *************** *** 89,93 **** long DoBackgroundToggle(long arg, void* parg); long DoAerialPhotoToggle( long arg, void* parg); ! void DoPreferencesChanges(long arg, void* parg); virtual long DoIdleTime(long arg, void* parg); virtual void RecalculateDisplay(); --- 89,93 ---- long DoBackgroundToggle(long arg, void* parg); long DoAerialPhotoToggle( long arg, void* parg); ! virtual long DoPreferencesChanges(long arg, void* parg); virtual long DoIdleTime(long arg, void* parg); virtual void RecalculateDisplay(); |