From 3796c95019b3e763f7d076017121d90e03521728 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Fri, 25 Jun 1999 12:54:16 +0000 Subject: [PATCH] Return an error for LoadIconImage() for BeOS because netlib is running in the UI thread. Thanks to Duncan Wilcox (duncan@be.com) for this fix. --- gfx/src/nsDeviceContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/nsDeviceContext.cpp b/gfx/src/nsDeviceContext.cpp index 0ed1dcf042b8..ec7253ebedd1 100644 --- a/gfx/src/nsDeviceContext.cpp +++ b/gfx/src/nsDeviceContext.cpp @@ -346,7 +346,7 @@ 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) +#if defined(XP_UNIX) || defined(XP_MAC) || defined(XP_BEOS) return NS_ERROR_FAILURE; #endif nsresult result;