diff options
Diffstat (limited to 'vcl/inc/unx/gtk')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index 3b81c5409c71..0793b52fcd7a 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -241,7 +241,11 @@ class GtkSalFrame : public SalFrame // signals static gboolean signalButton( GtkWidget*, GdkEventButton*, gpointer ); - static void signalStyleSet( GtkWidget*, GtkStyle* pPrevious, gpointer ); +#if GTK_CHECK_VERSION(3,0,0) + static void signalStyleUpdated(GtkWidget*, gpointer); +#else + static void signalStyleSet(GtkWidget*, GtkStyle* pPrevious, gpointer); +#endif #if GTK_CHECK_VERSION(3,0,0) static gboolean signalDraw( GtkWidget*, cairo_t *cr, gpointer ); static void sizeAllocated(GtkWidget*, GdkRectangle *pAllocation, gpointer frame); diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index 099fa110e1e9..1e2ddba5e4ec 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -230,6 +230,8 @@ public: #endif virtual const cairo_font_options_t* GetCairoFontOptions() override; + const cairo_font_options_t* GetLastSeenCairoFontOptions(); + void ResetLastSeenCairoFontOptions(); void RemoveTimer (SalTimer *pTimer); @@ -239,6 +241,7 @@ private: std::vector<GtkSalTimer *> m_aTimers; bool IsTimerExpired(); bool bNeedsInit; + cairo_font_options_t* m_pLastCairoFontOptions; mutable std::shared_ptr<vcl::unx::GtkPrintWrapper> m_xPrintWrapper; }; |