Fix for some memory leaks issue #657

This commit is contained in:
ffsup2
2011-06-07 20:12:01 +02:00
parent c109330c53
commit fbb9cff8ee
9 changed files with 31 additions and 18 deletions

View File

@@ -48,7 +48,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb) : selectedDirectoryId(1)
inTabMode=false;
// construct and initialize thumbnail browsers
fileBrowser = new FileBrowser();
fileBrowser = Gtk::manage( new FileBrowser() );
fileBrowser->setFileBrowserListener (this);
fileBrowser->setArrangement (ThumbBrowserBase::TB_Vertical);
fileBrowser->show ();