summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/gtk/gtkframe.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-17 15:33:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-17 21:25:42 +0200
commit3a2d142b99cbd57bacda8746541d4cdb4216adeb (patch)
treecbf125ec19d023226cc02aeda7ad73bc90fc60a7 /vcl/inc/unx/gtk/gtkframe.hxx
parent7d186c0510b18d12267fc9d930298eadd1cadb8e (diff)
gtk4: listen to display's setting-changed
in the absence of style-updated e.g. changing theme to a dark/light should change the brand image in the start center Change-Id: I7242019069b13093fee1430ade816a48fc0687f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117390 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index b1ddd52913b8..6fd9592c083e 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -239,10 +239,12 @@ class GtkSalFrame final : public SalFrame
void InitCommon();
void InvalidateGraphics();
-#if !GTK_CHECK_VERSION(4, 0, 0)
// signals
+#if !GTK_CHECK_VERSION(4, 0, 0)
static gboolean signalButton( GtkWidget*, GdkEventButton*, gpointer );
static void signalStyleUpdated(GtkWidget*, gpointer);
+#else
+ static void signalStyleUpdated(GtkWidget*, const gchar* pSetting, pointer);
#endif
void DrawingAreaResized(GtkWidget* pWidget, int nWidth, int nHeight);
void DrawingAreaDraw(cairo_t *cr);