[interfacekit] Re: BDeskbar weirdness
- From: Massimiliano Origgi <origgi@xxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 17 Sep 2002 10:56:41 +0200
>GetItemInfo() points *found_name to the name of the item identified by
>for_id ...
>The caller is responsible for freeing found_name
>RETURN CODES:
>...
>B_BAD_VALUE (GetItemInfo()) *found_name is NULL
[...]
>Any comments or concerns? Anyone as perplexed as me about what Be was
>thinking when implementing this? Can anyone explain why (*found_name !
>= NULL) is important? Thanks.
Yes, it's pretty strange and does not really make sense.
I have checked the Deskbar sources and it does nothing about this, so, in the
original implementation, it's the BDeskbar class which performs the (useless)
check and also makes a copy of the name.
--
Massimiliano Origgi
http://www.intuiware.com mailto:max@xxxxxxxxxxxxx
Squeezer 2.1 available!
Squeezer 2.2 beta available!
WorkspaceSwitcher 2.2 available!
- References:
- [interfacekit] BDeskbar weirdness
- From: Jeremy Rand
Other related posts:
- » [interfacekit] BDeskbar weirdness
- » [interfacekit] Re: BDeskbar weirdness
- » [interfacekit] Re: BDeskbar weirdness
- » [interfacekit] Re: BDeskbar weirdness
- » [interfacekit] Re: BDeskbar weirdness
- [interfacekit] BDeskbar weirdness
- From: Jeremy Rand