Bitmap as const argument.

This commit is contained in:
plfiorini 2010-06-22 19:02:42 +00:00
parent bf2f726629
commit afe167b86b
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ StatusView::SetStatus(CayaStatus status)
void void
StatusView::SetAvatarIcon(BBitmap* bitmap) StatusView::SetAvatarIcon(const BBitmap* bitmap)
{ {
fAvatar->SetBitmap(bitmap); fAvatar->SetBitmap(bitmap);
} }

View File

@ -23,7 +23,7 @@ public:
void SetName(BString name); void SetName(BString name);
void SetStatus(CayaStatus status); void SetStatus(CayaStatus status);
void SetAvatarIcon(BBitmap* bitmap); void SetAvatarIcon(const BBitmap* bitmap);
private: private:
BPopUpMenu* fStatusMenu; BPopUpMenu* fStatusMenu;