vcl: make GtkData use osl::Condition instead of oslCondition

Desktop / LibreOffice - Chris Sherlock [gmail.com] - 18 March 2017 06:57 EDT

Condition is deprecated already, but there is no need for the GtkData class to use the low-level C-API, when in fact there is a C++ fascade that calls on this via the C++ abstraction, osl::Condition.

This will make it much easier to switch to using std::condition_variable in the future.

Change-Id: Iddd2cad0e1137c0b458ebe25b506d463847a6dc0 Reviewed-on: https://gerrit.libreoffice.org/35389

5198b4b vcl: make GtkData use osl::Condition instead of oslCondition
vcl/inc/unx/gtk/gtkdata.hxx | 12 ++++++------
vcl/unx/gtk/gtkdata.cxx | 11 +++++------
vcl/unx/gtk3/gtk3gtkdata.cxx | 11 +++++------
3 files changed, 16 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share