]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.C
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / lyxserver.C
index e0a1ed8265a0d454e797d0f580f0adee3990eea2..ba1da6c533fc35389736577ac23de65d92d59b88 100644 (file)
@@ -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) {