[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Tue Sep 6 07:48:54 UTC 2016
vcl/unx/generic/app/saldata.cxx | 8 ++++++++
vcl/unx/generic/app/saltimer.cxx | 8 --------
2 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit d2038058c0568041e1722e877aae2825931a8745
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Sep 5 21:38:42 2016 +0100
move all X11SalData stuff together
Change-Id: I2dc27e8aa0231ad66955721029f61720d757967f
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index a75fe0a..b584f66 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -53,6 +53,7 @@
#include <X11/Xproto.h>
#include "salinst.hxx"
+#include "saltimer.hxx"
#include <osl/signal.h>
#include <osl/thread.h>
@@ -564,6 +565,13 @@ void X11SalData::XError( Display *pDisplay, XErrorEvent *pEvent )
m_aXErrorHandlerStack.back().m_bWas = true;
}
+void X11SalData::Timeout( bool idle )
+{
+ ImplSVData* pSVData = ImplGetSVData();
+ if( pSVData->mpSalTimer )
+ pSVData->mpSalTimer->CallCallback( idle );
+}
+
struct YieldEntry
{
int fd; // file descriptor for reading
diff --git a/vcl/unx/generic/app/saltimer.cxx b/vcl/unx/generic/app/saltimer.cxx
index 604f4ac..bf690db 100644
--- a/vcl/unx/generic/app/saltimer.cxx
+++ b/vcl/unx/generic/app/saltimer.cxx
@@ -23,18 +23,10 @@
#include <unistd.h>
#include <unx/salunx.h>
-#include <unx/saldata.hxx>
#include <unx/saldisp.hxx>
#include <unx/saltimer.h>
#include <unx/salinst.h>
-void X11SalData::Timeout( bool idle )
-{
- ImplSVData* pSVData = ImplGetSVData();
- if( pSVData->mpSalTimer )
- pSVData->mpSalTimer->CallCallback( idle );
-}
-
void SalXLib::StopTimer()
{
m_aTimeout.tv_sec = 0;
More information about the Libreoffice-commits
mailing list