From de0acf13b2dee2f7ad25de43f17acab73f1c7eac Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Thu, 13 Jul 2017 16:05:56 +0200 Subject: GTK+ convert to a single-shot timer Simplified version of commit 3e20ce802ee2ab49c4f2a98880f6e999657686bb Since we're missing g_source_get_ready_time in our baseline, this can't change the complex implementation, but still drops the timer array and uses a single-shot timer, like all other backends. Change-Id: I0641da8d0db71785c505957533a9069924808cd4 --- vcl/inc/unx/gtk/gtkinst.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/inc/unx/gtk/gtkinst.hxx') diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index 4c86a3d62867..1585c778afac 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -233,12 +233,12 @@ public: const cairo_font_options_t* GetLastSeenCairoFontOptions(); void ResetLastSeenCairoFontOptions(); - void RemoveTimer (SalTimer *pTimer); + void RemoveTimer (); std::shared_ptr const & getPrintWrapper() const; private: - std::vector m_aTimers; + GtkSalTimer *m_pTimer; #if GTK_CHECK_VERSION(3,0,0) std::unordered_map< GdkAtom, css::uno::Reference > m_aClipboards; #endif -- cgit