Made sLocker static, as originally intended.
If there is no be_app when the AppServerLink is created, it now falls into the debugger (maybe only for now?). Removed some debugging cruft. BTW I changed the standard app_server resolution to 800x600 by intention - at least for testing this is much more appropriate, and can be reversed later again. FWIW I think we should use 1024x768 as a standard or whatever is the native display resolution. Use 640x480 as a fall back only in safemode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13130 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f395db3740
commit
0cb92588a8
@ -22,9 +22,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
BLocker sLock;
|
static BLocker sLock;
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|
||||||
AppServerLink::AppServerLink(void)
|
AppServerLink::AppServerLink(void)
|
||||||
@ -35,8 +35,9 @@ AppServerLink::AppServerLink(void)
|
|||||||
if (be_app) {
|
if (be_app) {
|
||||||
fReceiver = &be_app->fServerLink->Receiver();
|
fReceiver = &be_app->fServerLink->Receiver();
|
||||||
fSender = &be_app->fServerLink->Sender();
|
fSender = &be_app->fServerLink->Sender();
|
||||||
} else
|
} else {
|
||||||
puts("Noooooooooooooooooooooooooooo");
|
debugger("You need to have a valid app_server connection first!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user