Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv13701/src/classes
Modified Files:
MApplication.cpp
Log Message:
MainFrame::OpenFolder() used to decref the folder passed to it which was
completely unexpected and resulted in a bug in resume code; changed it and the
code using it to not do it any more which also fixed the bug
Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.302
retrieving revision 1.303
diff -b -u -2 -r1.302 -r1.303
--- MApplication.cpp 16 Jan 2006 20:32:26 -0000 1.302
+++ MApplication.cpp 2 Jul 2006 12:23:13 -0000 1.303
@@ -277,11 +277,8 @@
if ( !foldername.empty() )
{
- MFolder *folder = MFolder::Get(foldername);
+ MFolder_obj folder(foldername);
if ( folder )
{
- // make sure it doesn't go away after OpenFolder()
- folder->IncRef();
((wxMainFrame *)m_topLevelFrame)->OpenFolder(folder);
- folder->DecRef();
}
else // invalid folder name
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates