diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-13 16:05:56 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-13 17:01:55 +0200 |
commit | de0acf13b2dee2f7ad25de43f17acab73f1c7eac (patch) | |
tree | 01fdfe02247565b21c358ad6e4b66765aede2caf /vcl/inc/unx/gtk/gtkinst.hxx | |
parent | 268ce31604eb04d6ec49fe6054ed0e7162dca4f4 (diff) |
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
Diffstat (limited to 'vcl/inc/unx/gtk/gtkinst.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<vcl::unx::GtkPrintWrapper> const & getPrintWrapper() const; private: - std::vector<GtkSalTimer *> m_aTimers; + GtkSalTimer *m_pTimer; #if GTK_CHECK_VERSION(3,0,0) std::unordered_map< GdkAtom, css::uno::Reference<css::uno::XInterface> > m_aClipboards; #endif |