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
|
void
|
||||||
BackgroundsApplication::RefsReceived(BMessage* message)
|
BackgroundsApplication::RefsReceived(BMessage* message)
|
||||||
{
|
{
|
||||||
if (CountWindows() > 0)
|
if (CountWindows() > 0) {
|
||||||
BMessenger(WindowAt(0)->ChildAt(0)).SendMessage(message);
|
BWindow* window = WindowAt(0);
|
||||||
|
BMessenger(window->ChildAt(0)).SendMessage(message);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user