[interfacekit] BMimeType::Set*(NULL)

  • From: Tyler Dauwalder <tyler@xxxxxxxxxxxxx>
  • To: interfacekit@xxxxxxxxxxxxx
  • Date: Mon, 19 Aug 2002 16:29:48 -0700

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)?

-Tyler


Other related posts: