[interfacekit] Re: BMimeType::Set*(NULL)
- From: "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 20 Aug 2002 20:13:18 CEST (+0200)
> BMimeType::SetIconForType() removes any existing icon from the
> database
> when passed a NULL BBitmap. Since all the other BMimeType::Set*()
> functions take pointer for the data items that are being set, I'm
> thinking I may extend this behaviour universally (it oughtn't be much
> extra work after I get the SetIconForType() behaviour done). Any
> objections (incidentally, R5 mostly just crashes when passed a NULL
> parameter for the other Set() functions)?
No, good idea. This is also consistent with how BNodeInfo and
BAppFileInfo behave.
CU, Ingo
Other related posts: