Disable icon loading on unix and mac until netlib can cope

git-svn-id: svn://10.0.0.236/trunk@27394 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com 1999-04-13 21:54:43 +00:00
parent 41106adcdd
commit 131d57b8d1

View File

@ -344,6 +344,11 @@ nsresult DeviceContextImpl::CreateIconILGroupContext()
NS_IMETHODIMP DeviceContextImpl::LoadIconImage(PRInt32 aId, nsIImage*& aImage)
{
// XXX synchronous image loading doesn't work on unix or mac yet
// because netlib is not in its own thread.
#if defined(XP_UNIX) || defined(XP_MAC)
return NS_ERROR_FAILURE;
#endif
nsresult result;
// Initialize out parameter