removed not doing anything and not compiling code from DoAssociation()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-12-30 00:01:54 +00:00
parent fad92e2f36
commit 07a9d3f946

View File

@ -116,18 +116,15 @@ bool wxGnomeVFSMimeTypesManagerImpl::DoAssociation(const wxString& strType,
const wxArrayString& strExtensions,
const wxString& strDesc)
{
int nIndex = AddToMimeData(strType, strIcon, entry, strExtensions, strDesc, true);
if ( nIndex == wxNOT_FOUND )
return false;
if (m_mailcapStylesInited & wxMAILCAP_GNOME)
{
// User modificationt to the MIME database
// are not supported :-)
}
return false;
return AddToMimeData
(
strType,
strIcon,
entry,
strExtensions,
strDesc,
true
) != wxNOT_FOUND;
}
//----------------------------------------------------------------------------