summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3/gtk3gtkdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk3/gtk3gtkdata.cxx')
-rw-r--r--vcl/unx/gtk3/gtk3gtkdata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkdata.cxx b/vcl/unx/gtk3/gtk3gtkdata.cxx
index 40d46705a9a5..18327a484081 100644
--- a/vcl/unx/gtk3/gtk3gtkdata.cxx
+++ b/vcl/unx/gtk3/gtk3gtkdata.cxx
@@ -52,6 +52,7 @@
#endif
#include <cppuhelper/exc_hlp.hxx>
+#include <chrono>
using namespace vcl_sal;
@@ -472,8 +473,7 @@ SalYieldResult GtkData::Yield( bool bWait, bool bHandleAllCurrentEvents )
*/
// we are the dispatch thread
m_aDispatchCondition.reset();
- TimeValue aValue = { 1, 0 };
- m_aDispatchCondition.wait(&aValue);
+ m_aDispatchCondition.wait(std::chrono::seconds(1));
}
}