diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-08 06:55:30 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-13 12:10:21 +0200 |
commit | d348035a60361a1b9ba9eb7b67013204a24a6633 (patch) | |
tree | 85e7e4ff2dd926ef9d2907b4f4900815bdbb96c5 /vcl/inc/unx/gtk/gtkdata.hxx | |
parent | 1782893282a4543e946e6b2c8de863b10fab0c85 (diff) |
Drop special idle handling
Idles are just instant timers, which should most time have a low
priority, By dropping most special idle handling we'll just
schedule by priority.
This also reverts SalYieldResult back to a bool, which just
indicates if any event was processed.
Change-Id: Ia0b91b06dffb77af066f01838d8f9483523bf67d
Diffstat (limited to 'vcl/inc/unx/gtk/gtkdata.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkdata.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx index 8e8719a8a174..2582314eb003 100644 --- a/vcl/inc/unx/gtk/gtkdata.hxx +++ b/vcl/inc/unx/gtk/gtkdata.hxx @@ -98,7 +98,6 @@ class GtkData : public SalGenericData osl::Mutex m_aDispatchMutex; osl::Condition m_aDispatchCondition; css::uno::Any m_aException; - bool blockIdleTimeout; public: GtkData( SalInstance *pInstance ); @@ -113,14 +112,13 @@ public: static gboolean userEventFn( gpointer data ); void PostUserEvent(); - SalYieldResult Yield( bool bWait, bool bHandleAllCurrentEvents ); + bool Yield( bool bWait, bool bHandleAllCurrentEvents ); inline GdkDisplay *GetGdkDisplay(); virtual void ErrorTrapPush() override; virtual bool ErrorTrapPop( bool bIgnoreError = true ) override; inline GtkSalDisplay *GetGtkDisplay() const; - bool BlockIdleTimeout() const { return blockIdleTimeout; } void setException(const css::uno::Any& rException) { m_aException = rException; } }; |