Big cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12424 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2005-04-16 13:30:49 +00:00
parent af1a2a015b
commit d7c2c05061
9 changed files with 378 additions and 496 deletions
+2 -4
View File
@@ -341,7 +341,6 @@ int32 ServerApp::MonitorApp(void *data)
port_id sendPort = -1;
port_id looperPort = -1;
char *title = NULL;
port_id replyport = -1;
msgqueue.Read<BRect>(&frame);
msgqueue.Read<uint32>(&look);
@@ -357,9 +356,8 @@ int32 ServerApp::MonitorApp(void *data)
// ServerWindow constructor will reply with port_id of a newly created port
ServerWindow *sw = NULL;
sw = new ServerWindow(frame, title, look, feel, flags, app,
sendPort, looperPort, replyport, wkspaces, token);
sw->Init();
sw = new ServerWindow(title, app, sendPort, looperPort, token);
sw->Init(frame, look, feel, flags, wkspaces);
STRACE(("\nServerApp %s: New Window %s (%.1f,%.1f,%.1f,%.1f)\n",
app->fSignature.String(),title,frame.left,frame.top,frame.right,frame.bottom));