Backgrounds Preflet : Fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32432 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -53,8 +53,10 @@ BackgroundsApplication::BackgroundsApplication()
|
||||
void
|
||||
BackgroundsApplication::RefsReceived(BMessage* message)
|
||||
{
|
||||
if (CountWindows() > 0)
|
||||
BMessenger(WindowAt(0)->ChildAt(0)).SendMessage(message);
|
||||
if (CountWindows() > 0) {
|
||||
BWindow* window = WindowAt(0);
|
||||
BMessenger(window->ChildAt(0)).SendMessage(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user