X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxserver.C;h=ba1da6c533fc35389736577ac23de65d92d59b88;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=e0a1ed8265a0d454e797d0f580f0adee3990eea2;hpb=8e6e970d7ba017dba14bdb821f4c4489665d947c;p=lyx.git diff --git a/src/lyxserver.C b/src/lyxserver.C index e0a1ed8265..ba1da6c533 100644 --- a/src/lyxserver.C +++ b/src/lyxserver.C @@ -196,7 +196,7 @@ int LyXComm::startPipe(string const & file, bool write) } if (!write) { - theApp->registerSocketCallback(fd, + theApp()->registerSocketCallback(fd, boost::bind(&LyXComm::read_ready, this)); } @@ -210,7 +210,7 @@ void LyXComm::endPipe(int & fd, string const & filename, bool write) return; if (!write) { - theApp->unregisterSocketCallback(fd); + theApp()->unregisterSocketCallback(fd); } if (::close(fd) < 0) {