}
if (!write) {
- theApp->registerSocketCallback(fd,
+ theApp()->registerSocketCallback(fd,
boost::bind(&LyXComm::read_ready, this));
}
return;
if (!write) {
- theApp->unregisterSocketCallback(fd);
+ theApp()->unregisterSocketCallback(fd);
}
if (::close(fd) < 0) {