Diff for /chimera/MainController.mm between versions 1.18 and 1.19

version 1.18, 2002/02/09 20:31:06 version 1.19, 2002/02/09 23:17:02
Line 18  static const char* ioServiceContractID = Line 18  static const char* ioServiceContractID =
 {  {
     [self newWindow: self];      [self newWindow: self];
           
       [mBookmarksMenu setAutoenablesItems: NO];
       
       mMenuBookmarks = new BookmarksService(nil);
       mMenuBookmarks->AddObserver();
       mMenuBookmarks->ConstructBookmarksMenu(mBookmarksMenu, nsnull);
       
     // Initialize offline mode.      // Initialize offline mode.
     mOffline = NO;      mOffline = NO;
     nsCOMPtr<nsIIOService> ioService(do_GetService(ioServiceContractID));      nsCOMPtr<nsIIOService> ioService(do_GetService(ioServiceContractID));
Line 172  static const char* ioServiceContractID = Line 178  static const char* ioServiceContractID =
   
 -(void)applicationWillTerminate: (NSNotification*)aNotification  -(void)applicationWillTerminate: (NSNotification*)aNotification
 {  {
       mMenuBookmarks->RemoveObserver();
       delete mMenuBookmarks;
     nsCocoaBrowserService::TermEmbedding();      nsCocoaBrowserService::TermEmbedding();
 }  }
   

Removed from v.1.18  
changed lines
  Added in v.1.19


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>